GEL
2
GEL is a library for Geometry and Linear Algebra
|
00001 #ifndef __CGLA_VEC2UI_H__ 00002 #define __CGLA_VEC2UI_H__ 00003 00004 #include "ArithVec.h" 00005 00006 namespace CGLA 00007 { 00008 class Vec2f; 00009 00012 class Vec2ui: public ArithVec<unsigned int,Vec2ui,2> 00013 { 00014 public: 00015 00017 Vec2ui() {} 00018 00020 Vec2ui(unsigned int _a) 00021 : ArithVec<unsigned int,Vec2ui,2>(_a,_a) 00022 {} 00023 00025 Vec2ui(unsigned int _a, unsigned int _b) 00026 : ArithVec<unsigned int,Vec2ui,2>(_a,_b) 00027 {} 00028 00030 explicit Vec2ui(const Vec2f& v); 00031 00032 }; 00033 } 00034 #endif