Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

ToxiGenTypes.h

Go to the documentation of this file.
00001 
00009 /* 
00010         ---- Copyright (C) 2002  Jose Eduardo R. Mourão (eduardo_rdm@hotmail.com) ----
00011           
00012         This file is part of ToxiTea.
00013 
00014     ToxiTea is free software; you can redistribute it and/or modify
00015     it under the terms of the GNU General Public License as published by
00016     the Free Software Foundation; either version 2 of the License, or
00017     (at your option) any later version.
00018 
00019     ToxiTea is distributed in the hope that it will be useful,
00020     but WITHOUT ANY WARRANTY; without even the implied warranty of
00021     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00022     GNU General Public License for more details.
00023 
00024     You should have received a copy of the GNU General Public License
00025     along with ToxiTea; if not, write to the Free Software
00026     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00027 
00028         For more information and updates visit: 
00029         http://toxitea.sourceforge.net
00030         or mail to: eduardo_rdm@hotmail.com
00031 
00032         COMPILING AND/OR USING YOU ARE ACCEPTING ALL TERMS ABOVE.
00033         THIS LICENSE CAN BE CHANGED ANY TIME FOR ANY REASON WITHOUT NO COMMUNICATION.
00034 */
00035 
00040 #ifndef _TOXI_GENTYPES_H_
00041 #define _TOXI_GENTYPES_H_
00042 
00043 // Usual types
00044 typedef unsigned long ulong;
00045 typedef unsigned char uchar;
00046 typedef char* str;
00047 
00048 
00049 // Vert. classes
00050 class v2i {
00051 public:
00052         int x;
00053         int y;
00054 };
00055 
00056 class v3i {
00057 public:
00058         int x;
00059         int y;
00060         int z;
00061 };
00062 
00063 class v2f {
00064 public:
00065         float x;
00066         float y;
00067 };
00068 
00069 class v3f {
00070 public:
00071         float x;
00072         float y;
00073         float z;
00074 };
00075 
00076 class v2d {
00077 public:
00078         double x;
00079         double y;
00080 };
00081 
00082 class v3d {
00083 public:
00084         double x;
00085         double y;
00086         double z;
00087 };
00088 
00089 
00090 #endif

Generated on Mon Sep 23 23:07:01 2002 for ToxiTea by doxygen1.2.18