home *** CD-ROM | disk | FTP | other *** search
/ Quark 3 / Quark3.iso / KATALOG / ARCHIV / TOOL / T001.ZIP / SOURCE.ZIP / Base.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-05-03  |  1.2 KB  |  41 lines

  1. /*
  2. Copyright (C) Matthew 'pagan' Baranowski & Sander 'FireStorm' van Rossen
  3.  
  4. This program is free software; you can redistribute it and/or
  5. modify it under the terms of the GNU General Public License
  6. as published by the Free Software Foundation; either version 2
  7. of the License, or (at your option) any later version.
  8.  
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. GNU General Public License for more details.
  13.  
  14. You should have received a copy of the GNU General Public License
  15. along with this program; if not, write to the Free Software
  16. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  17. */
  18.  
  19. #ifndef _BASE_H_
  20. #define _BASE_H_
  21.  
  22. #define INT32    int
  23. #define INT16    short
  24. #define INT8    char
  25.  
  26. #define UINT32    unsigned int
  27. #define UINT16    unsigned short
  28. #define UINT8    unsigned char
  29.  
  30. #define SINT32    signed int
  31. #define SINT16    signed short
  32. #define SINT8    signed char
  33.  
  34. typedef float    Vec3[3];
  35. typedef float    Vec2[2];
  36. typedef Vec3    Mat3x3[3];
  37.  
  38. typedef INT32    TriVec[3];    //vertex 1,2,3 of TriVec
  39. typedef Vec2    TexVec;        //Texture U/V coordinates of vertex 
  40.  
  41. #endif