GEL
2
GEL is a library for Geometry and Linear Algebra
|
00001 #ifndef __CGLA_MAT2X2F_H__ 00002 #define __CGLA_MAT2X2F_H__ 00003 00004 #include "Vec2f.h" 00005 #include "ArithSqMat2x2Float.h" 00006 00007 00008 namespace CGLA 00009 { 00010 00015 class Mat2x2f: public ArithSqMat2x2Float<Vec2f, Mat2x2f> 00016 { 00017 public: 00018 00020 Mat2x2f(Vec2f _a, Vec2f _b): ArithSqMat2x2Float<Vec2f, Mat2x2f> (_a,_b) {} 00021 00023 Mat2x2f(float _a, float _b, float _c, float _d): 00024 ArithSqMat2x2Float<Vec2f, Mat2x2f>(Vec2f(_a,_b),Vec2f(_c,_d)) {} 00025 00027 Mat2x2f() {} 00028 00030 explicit Mat2x2f(float a): ArithSqMat2x2Float<Vec2f, Mat2x2f>(a) {} 00031 00032 00033 }; 00034 00035 } 00036 #endif