Logo Search packages:      
Sourcecode: blender version File versions  Download package

gim_geom_types.h

Go to the documentation of this file.
#ifndef GIM_GEOM_TYPES_H_INCLUDED
#define GIM_GEOM_TYPES_H_INCLUDED

/*! \file gim_geom_types.h
\author Francisco Len N▀jera
*/
/*
-----------------------------------------------------------------------------
This source file is part of GIMPACT Library.

For the latest info, see http://gimpact.sourceforge.net/

Copyright (c) 2006 Francisco Leon Najera. C.C. 80087371.
email: projectileman@yahoo.com

 This library is free software; you can redistribute it and/or
 modify it under the terms of EITHER:
   (1) The GNU Lesser General Public License as published by the Free
       Software Foundation; either version 2.1 of the License, or (at
       your option) any later version. The text of the GNU Lesser
       General Public License is included with this library in the
       file GIMPACT-LICENSE-LGPL.TXT.
   (2) The BSD-style license that is included with this library in
       the file GIMPACT-LICENSE-BSD.TXT.
   (3) The zlib/libpng license that is included with this library in
       the file GIMPACT-LICENSE-ZLIB.TXT.

 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the files
 GIMPACT-LICENSE-LGPL.TXT, GIMPACT-LICENSE-ZLIB.TXT and GIMPACT-LICENSE-BSD.TXT for more details.

-----------------------------------------------------------------------------
*/


#include "gim_math.h"

/*! \defgroup GEOMETRIC_TYPES
\brief
Basic types and constants for geometry
*/
//! @{

//! Short Integer vector 2D
00046 typedef GSHORT vec2s[2];
//! Integer vector 3D
00048 typedef GSHORT vec3s[3];
//! Integer vector 4D
00050 typedef GSHORT vec4s[4];

//! Short Integer vector 2D
00053 typedef GUSHORT vec2us[2];
//! Integer vector 3D
00055 typedef GUSHORT vec3us[3];
//! Integer vector 4D
00057 typedef GUSHORT vec4us[4];

//! Integer vector 2D
00060 typedef GINT vec2i[2];
//! Integer vector 3D
00062 typedef GINT vec3i[3];
//! Integer vector 4D
00064 typedef GINT vec4i[4];

//! Unsigned Integer vector 2D
00067 typedef GUINT vec2ui[2];
//! Unsigned Integer vector 3D
00069 typedef GUINT vec3ui[3];
//! Unsigned Integer vector 4D
00071 typedef GUINT vec4ui[4];

//! Float vector 2D
00074 typedef GREAL vec2f[2];
//! Float vector 3D
00076 typedef GREAL vec3f[3];
//! Float vector 4D
00078 typedef GREAL vec4f[4];

//! Double vector 2D
00081 typedef GREAL2 vec2d[2];
//! Float vector 3D
00083 typedef GREAL2 vec3d[3];
//! Float vector 4D
00085 typedef GREAL2 vec4d[4];

//! Matrix 2D, row ordered
00088 typedef GREAL mat2f[2][2];
//! Matrix 3D, row ordered
00090 typedef GREAL mat3f[3][3];
//! Matrix 4D, row ordered
00092 typedef GREAL mat4f[4][4];

//! Quaternion
00095 typedef GREAL quatf[4];

//typedef struct _aabb3f aabb3f;
//! @}



#endif // GIM_GEOM_TYPES_H_INCLUDED

Generated by  Doxygen 1.6.0   Back to index