Bullet Collision Detection & Physics Library
gim_geom_types.h
Go to the documentation of this file.
1 #ifndef GIM_GEOM_TYPES_H_INCLUDED
2 #define GIM_GEOM_TYPES_H_INCLUDED
3 
7 /*
8 -----------------------------------------------------------------------------
9 This source file is part of GIMPACT Library.
10 
11 For the latest info, see http://gimpact.sourceforge.net/
12 
13 Copyright (c) 2006 Francisco Leon Najera. C.C. 80087371.
14 email: projectileman@yahoo.com
15 
16  This library is free software; you can redistribute it and/or
17  modify it under the terms of EITHER:
18  (1) The GNU Lesser General Public License as published by the Free
19  Software Foundation; either version 2.1 of the License, or (at
20  your option) any later version. The text of the GNU Lesser
21  General Public License is included with this library in the
22  file GIMPACT-LICENSE-LGPL.TXT.
23  (2) The BSD-style license that is included with this library in
24  the file GIMPACT-LICENSE-BSD.TXT.
25  (3) The zlib/libpng license that is included with this library in
26  the file GIMPACT-LICENSE-ZLIB.TXT.
27 
28  This library is distributed in the hope that it will be useful,
29  but WITHOUT ANY WARRANTY; without even the implied warranty of
30  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the files
31  GIMPACT-LICENSE-LGPL.TXT, GIMPACT-LICENSE-ZLIB.TXT and GIMPACT-LICENSE-BSD.TXT for more details.
32 
33 -----------------------------------------------------------------------------
34 */
35 
36 #include "gim_math.h"
37 
39 typedef GSHORT vec2s[2];
41 typedef GSHORT vec3s[3];
43 typedef GSHORT vec4s[4];
44 
46 typedef GUSHORT vec2us[2];
48 typedef GUSHORT vec3us[3];
50 typedef GUSHORT vec4us[4];
51 
53 typedef GINT vec2i[2];
55 typedef GINT vec3i[3];
57 typedef GINT vec4i[4];
58 
60 typedef GUINT vec2ui[2];
62 typedef GUINT vec3ui[3];
64 typedef GUINT vec4ui[4];
65 
67 typedef GREAL vec2f[2];
69 typedef GREAL vec3f[3];
71 typedef GREAL vec4f[4];
72 
74 typedef GREAL2 vec2d[2];
76 typedef GREAL2 vec3d[3];
78 typedef GREAL2 vec4d[4];
79 
81 typedef GREAL mat2f[2][2];
83 typedef GREAL mat3f[3][3];
85 typedef GREAL mat4f[4][4];
86 
88 typedef GREAL quatf[4];
89 
90 //typedef struct _aabb3f aabb3f;
91 
92 #endif // GIM_GEOM_TYPES_H_INCLUDED
GSHORT
#define GSHORT
Definition: gim_math.h:41
GREAL
#define GREAL
Definition: gim_math.h:37
vec3ui
GUINT vec3ui[3]
Unsigned Integer vector 3D.
Definition: gim_geom_types.h:62
vec4s
GSHORT vec4s[4]
Integer vector 4D.
Definition: gim_geom_types.h:43
vec4d
GREAL2 vec4d[4]
Float vector 4D.
Definition: gim_geom_types.h:78
mat3f
GREAL mat3f[3][3]
Matrix 3D, row ordered.
Definition: gim_geom_types.h:83
vec2d
GREAL2 vec2d[2]
Double vector 2D.
Definition: gim_geom_types.h:74
gim_math.h
GUSHORT
#define GUSHORT
Definition: gim_math.h:42
vec3d
GREAL2 vec3d[3]
Float vector 3D.
Definition: gim_geom_types.h:76
quatf
GREAL quatf[4]
Quaternion.
Definition: gim_geom_types.h:88
mat2f
GREAL mat2f[2][2]
Matrix 2D, row ordered.
Definition: gim_geom_types.h:81
GUINT
#define GUINT
Definition: gim_math.h:40
vec4ui
GUINT vec4ui[4]
Unsigned Integer vector 4D.
Definition: gim_geom_types.h:64
vec2s
GSHORT vec2s[2]
Short Integer vector 2D.
Definition: gim_geom_types.h:39
vec2f
GREAL vec2f[2]
Float vector 2D.
Definition: gim_geom_types.h:67
vec4us
GUSHORT vec4us[4]
Integer vector 4D.
Definition: gim_geom_types.h:50
vec4f
GREAL vec4f[4]
Float vector 4D.
Definition: gim_geom_types.h:71
vec2us
GUSHORT vec2us[2]
Short Integer vector 2D.
Definition: gim_geom_types.h:46
vec3s
GSHORT vec3s[3]
Integer vector 3D.
Definition: gim_geom_types.h:41
vec2i
GINT vec2i[2]
Integer vector 2D.
Definition: gim_geom_types.h:53
vec3f
GREAL vec3f[3]
Float vector 3D.
Definition: gim_geom_types.h:69
GREAL2
#define GREAL2
Definition: gim_math.h:38
GINT
#define GINT
Definition: gim_math.h:39
vec2ui
GUINT vec2ui[2]
Unsigned Integer vector 2D.
Definition: gim_geom_types.h:60
vec3us
GUSHORT vec3us[3]
Integer vector 3D.
Definition: gim_geom_types.h:48
vec3i
GINT vec3i[3]
Integer vector 3D.
Definition: gim_geom_types.h:55
vec4i
GINT vec4i[4]
Integer vector 4D.
Definition: gim_geom_types.h:57
mat4f
GREAL mat4f[4][4]
Matrix 4D, row ordered.
Definition: gim_geom_types.h:85