Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/external/bullet/BulletCollision/Gimpact/gim_geom_types.h @ 5781

Last change on this file since 5781 was 5781, checked in by rgrieder, 15 years ago

Reverted trunk again. We might want to find a way to delete these revisions again (x3n's changes are still available as diff in the commit mails).

  • Property svn:eol-style set to native
File size: 2.5 KB
Line 
1#ifndef GIM_GEOM_TYPES_H_INCLUDED
2#define GIM_GEOM_TYPES_H_INCLUDED
3
4/*! \file gim_geom_types.h
5\author Francisco Len Nßjera
6*/
7/*
8-----------------------------------------------------------------------------
9This source file is part of GIMPACT Library.
10
11For the latest info, see http://gimpact.sourceforge.net/
12
13Copyright (c) 2006 Francisco Leon Najera. C.C. 80087371.
14email: 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
37#include "gim_math.h"
38
39
40
41//! Short Integer vector 2D
42typedef GSHORT vec2s[2];
43//! Integer vector 3D
44typedef GSHORT vec3s[3];
45//! Integer vector 4D
46typedef GSHORT vec4s[4];
47
48//! Short Integer vector 2D
49typedef GUSHORT vec2us[2];
50//! Integer vector 3D
51typedef GUSHORT vec3us[3];
52//! Integer vector 4D
53typedef GUSHORT vec4us[4];
54
55//! Integer vector 2D
56typedef GINT vec2i[2];
57//! Integer vector 3D
58typedef GINT vec3i[3];
59//! Integer vector 4D
60typedef GINT vec4i[4];
61
62//! Unsigned Integer vector 2D
63typedef GUINT vec2ui[2];
64//! Unsigned Integer vector 3D
65typedef GUINT vec3ui[3];
66//! Unsigned Integer vector 4D
67typedef GUINT vec4ui[4];
68
69//! Float vector 2D
70typedef GREAL vec2f[2];
71//! Float vector 3D
72typedef GREAL vec3f[3];
73//! Float vector 4D
74typedef GREAL vec4f[4];
75
76//! Double vector 2D
77typedef GREAL2 vec2d[2];
78//! Float vector 3D
79typedef GREAL2 vec3d[3];
80//! Float vector 4D
81typedef GREAL2 vec4d[4];
82
83//! Matrix 2D, row ordered
84typedef GREAL mat2f[2][2];
85//! Matrix 3D, row ordered
86typedef GREAL mat3f[3][3];
87//! Matrix 4D, row ordered
88typedef GREAL mat4f[4][4];
89
90//! Quaternion
91typedef GREAL quatf[4];
92
93//typedef struct _aabb3f aabb3f;
94
95
96
97#endif // GIM_GEOM_TYPES_H_INCLUDED
Note: See TracBrowser for help on using the repository browser.