GEL  2
GEL is a library for Geometry and Linear Algebra
/Users/jab/Documents/Teaching/02585/GEL2_and_demos/GEL/src/CGLA/Vec3uc.h
00001 #ifndef __CGLA_VEC3UC_H__
00002 #define __CGLA_VEC3UC_H__
00003 
00004 #include "Vec3i.h"
00005 
00006 namespace CGLA {
00007         typedef unsigned char UChar;
00008 
00010         class Vec3uc: public ArithVec3Int<UChar,Vec3uc>
00011         {
00012 
00013         public:
00014                 
00016                 Vec3uc() {}
00017 
00019                 Vec3uc(UChar a, UChar b, UChar c): 
00020                         ArithVec3Int<UChar,Vec3uc>(a,b,c) {}
00021 
00023                 explicit Vec3uc(const Vec3i& v): 
00024                         ArithVec3Int<UChar,Vec3uc>(v[0]&0xff, v[1]&0xff, v[2]&0xff) {}
00025         };
00026 
00027 
00028 }
00029 #endif
00030 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations