GEL  2
GEL is a library for Geometry and Linear Algebra
/Users/jab/Documents/Teaching/02585/GEL2_and_demos/GEL/src/CGLA/Vec3usi.h
00001 #ifndef __CGLA_VEC3USI_H__
00002 #define __CGLA_VEC3USI_H__
00003 
00004 #include "Vec3i.h"
00005 
00006 namespace CGLA {
00007         typedef unsigned short int USInt;
00008 
00013         class Vec3usi: public ArithVec3Int<int,Vec3usi>
00014         {
00015 
00016         public:
00017 
00019                 Vec3usi() {}
00020 
00022                 Vec3usi(USInt _a, USInt _b, USInt _c): 
00023                         ArithVec3Int<int,Vec3usi>(_a,_b,_c) {}
00024 
00026                 explicit Vec3usi(const Vec3i& v): 
00027                         ArithVec3Int<int,Vec3usi>(v[0]&0xffff, v[1]&0xffff, v[2]&0xffff) {}
00028         };
00029 
00030 
00031 }
00032 #endif
00033 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations