![[]](/images/special/trans.gif)
LibN2L-4 Library Code ReferenceClassesCompounds Files Members Method Index Full Reference geometry/types.hGo to the documentation of this file.00001 /************************************************************************ 00002 Nova-2 Library (libN2L, or simply n2l) Game development C++ Library 00003 Copyright (C) 2003 Aaron Cameron 00004 00005 This library is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU Lesser General Public 00007 License as published by the Free Software Foundation; either 00008 version 2.1 of the License, or (at your option) any later version. 00009 00010 This library is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 Lesser General Public License for more details. 00014 00015 You should have received a copy of the GNU Lesser General Public 00016 License along with this library; if not, write to the Free Software 00017 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00018 00019 A copy of the GNU Lesser General Public License has been provided with 00020 this library in the file 'COPYING'. 00021 00022 Contact information for the author of this library has been provided 00023 with this library in the file 'AUTHOR'. 00024 ************************************************************************/ 00025 #ifndef _n2l4_geoTypes_h 00026 #define _n2l4_geoTypes_h 00027 00028 #include "n2l/n2l.h" 00029 00030 #include "cVector2.h" 00031 #include "cVector3.h" 00032 00033 #include "cRectangle2.h" 00034 #include "cRectangle3.h" 00035 #include "cTriangle3.h" 00036 00037 #include "geometry/cQuaternion.h" 00038 00039 #include "cBezier33.h" 00040 #include "cMatrix44.h" 00041 #include "cPlane3.h" 00042 00043 namespace n2l 00044 { 00045 typedef cVector3<tUint,tSint,tUint> tVector3u; 00046 typedef cVector3<tSint,tSint,tSint> tVector3s; 00047 typedef cVector3<tUbyte,tSshort,tUbyte> tVector3b; 00048 typedef cVector3<tFloat,tFloat,tFloat> tVector3f; 00049 typedef cVector3<tDouble,tDouble,tDouble> tVector3d; 00050 00051 typedef cVector2<tUint,tSint,tUint> tVector2u; 00052 typedef cVector2<tSint,tSint,tUint> tVector2s; 00053 typedef cVector2<tFloat,tFloat,tFloat> tVector2f; 00054 typedef cVector2<tDouble,tDouble,tDouble> tVector2d; 00055 00056 typedef cRectangle2<tUint,tSint,tUint> tRectangle2u; 00057 typedef cRectangle2<tSint,tSint,tSint> tRectangle2s; 00058 typedef cRectangle2<tFloat,tFloat,tFloat> tRectangle2f; 00059 typedef cRectangle2<tDouble,tDouble,tDouble> tRectangle2d; 00060 00061 typedef cRectangle3<tUint,tSint,tUint> tRectangle3u; 00062 typedef cRectangle3<tSint,tSint,tSint> tRectangle3s; 00063 typedef cRectangle3<tFloat,tFloat,tFloat> tRectangle3f; 00064 typedef cRectangle3<tDouble,tDouble,tDouble> tRectangle3d; 00065 00066 typedef cTriangle3<tFloat> tTriangle3f; 00067 typedef cTriangle3<tDouble> tTriangle3d; 00068 00069 typedef cBezier33<tFloat, tFloat> tBezier33f; 00070 typedef cBezier33<tDouble, tDouble> tBezier33d; 00071 00072 //typedef cMatrix<tFloat,4,4> tMatrix44f; 00073 //typedef cMatrix<tDouble,4,4> tMatrix44d; 00074 00075 typedef cMatrix44<tFloat> tMatrix44f; 00076 typedef cMatrix44<tDouble> tMatrix44d; 00077 00078 typedef cPlane3<tFloat> tPlane3f; 00079 typedef cPlane3<tDouble> tPlane3d; 00080 00081 typedef cQuaternion<tFloat> tQuaternionf; 00082 typedef cQuaternion<tDouble> tQuaterniond; 00083 00084 } // namespace n2l 00085 00086 #endif |