Subversion Repositories gelsvn

Rev

Rev 2 | Rev 89 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 12
Line 1... Line 1...
1
#ifndef __CGLA_MAT2X2D_H
1
#ifndef __CGLA_MAT2X2D_H__
2
#define __CGLA_MAT2X2D_H
2
#define __CGLA_MAT2X2D_H__
3
 
3
 
4
#include "Vec2d.h"
4
#include "Vec2d.h"
5
#include "ArithSqMat2x2Float.h"
5
#include "ArithSqMat2x2Float.h"
6
 
6
 
7
 
7
 
Line 18... Line 18...
18
 
18
 
19
		/// Construct a Mat2x2f from four scalars.
19
      /// Construct a Mat2x2f from four scalars.
20
		Mat2x2d(double a, double b, double c, double d): 
20
      Mat2x2d(double a, double b, double c, double d): 
21
			ArithSqMat2x2Float<Vec2d, Mat2x2d>(Vec2d(a,b),Vec2d(c,d)) {}
21
	ArithSqMat2x2Float<Vec2d, Mat2x2d>(Vec2d(a,b),Vec2d(c,d)) {}
22
  
22
  
23
		/// Construct the 0 matrix
23
      /// Construct the NAN matrix
24
		Mat2x2d() {}
24
      Mat2x2d() {}
25
 
25
 
-
 
26
      /// Construct a Mat2x2d from a single scalar
-
 
27
      explicit Mat2x2d(double a): 
-
 
28
	ArithSqMat2x2Float<Vec2d, Mat2x2d>(a) {}
26
	};
29
    };
27
 
30
 
28
}
31
}
29
#endif
32
#endif