Blender V2.61 - r43446

gim_geom_types.h

Go to the documentation of this file.
00001 #ifndef GIM_GEOM_TYPES_H_INCLUDED
00002 #define GIM_GEOM_TYPES_H_INCLUDED
00003 
00007 /*
00008 -----------------------------------------------------------------------------
00009 This source file is part of GIMPACT Library.
00010 
00011 For the latest info, see http://gimpact.sourceforge.net/
00012 
00013 Copyright (c) 2006 Francisco Leon Najera. C.C. 80087371.
00014 email: projectileman@yahoo.com
00015 
00016  This library is free software; you can redistribute it and/or
00017  modify it under the terms of EITHER:
00018    (1) The GNU Lesser General Public License as published by the Free
00019        Software Foundation; either version 2.1 of the License, or (at
00020        your option) any later version. The text of the GNU Lesser
00021        General Public License is included with this library in the
00022        file GIMPACT-LICENSE-LGPL.TXT.
00023    (2) The BSD-style license that is included with this library in
00024        the file GIMPACT-LICENSE-BSD.TXT.
00025    (3) The zlib/libpng license that is included with this library in
00026        the file GIMPACT-LICENSE-ZLIB.TXT.
00027 
00028  This library is distributed in the hope that it will be useful,
00029  but WITHOUT ANY WARRANTY; without even the implied warranty of
00030  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the files
00031  GIMPACT-LICENSE-LGPL.TXT, GIMPACT-LICENSE-ZLIB.TXT and GIMPACT-LICENSE-BSD.TXT for more details.
00032 
00033 -----------------------------------------------------------------------------
00034 */
00035 
00036 
00037 #include "gim_math.h"
00038 
00039 
00040 
00042 typedef GSHORT vec2s[2];
00044 typedef GSHORT vec3s[3];
00046 typedef GSHORT vec4s[4];
00047 
00049 typedef GUSHORT vec2us[2];
00051 typedef GUSHORT vec3us[3];
00053 typedef GUSHORT vec4us[4];
00054 
00056 typedef GINT vec2i[2];
00058 typedef GINT vec3i[3];
00060 typedef GINT vec4i[4];
00061 
00063 typedef GUINT vec2ui[2];
00065 typedef GUINT vec3ui[3];
00067 typedef GUINT vec4ui[4];
00068 
00070 typedef GREAL vec2f[2];
00072 typedef GREAL vec3f[3];
00074 typedef GREAL vec4f[4];
00075 
00077 typedef GREAL2 vec2d[2];
00079 typedef GREAL2 vec3d[3];
00081 typedef GREAL2 vec4d[4];
00082 
00084 typedef GREAL mat2f[2][2];
00086 typedef GREAL mat3f[3][3];
00088 typedef GREAL mat4f[4][4];
00089 
00091 typedef GREAL quatf[4];
00092 
00093 //typedef struct _aabb3f aabb3f;
00094 
00095 
00096 
00097 #endif // GIM_GEOM_TYPES_H_INCLUDED