/afs/csl.tjhsst.edu/students/2007/kkassing/work/libhemi/hemi.h

Go to the documentation of this file.
00001 #ifndef __HEMI_H__
00002 #define __HEMI_H__
00003 
00004 /* External Headers */
00005 #include <stdio.h>
00006 #include <math.h>
00007 #include <stdlib.h>
00008 #include <string.h>
00009 
00010 #include "libmala/vector.h"
00011 #include "libmala/quaternion.h"
00012 #include "libmala/matrix.h"
00013 #include "libmala/plane.h"
00014 #include "libmala/fmath.h"
00015 
00016 #include "liballoy/alloy.h"
00017 
00018 /* Configuration */
00019 #define HEXTERN extern
00020 
00021 /* typedefs */
00022 //typedef unsigned short ushort;
00023 //typedef unsigned int uint;
00024 //typedef unsigned char byte;
00025 typedef unsigned int hemi_uint;
00026 typedef unsigned short hemi_ushort;
00027 typedef unsigned char hemi_byte;
00028 
00029 /* constants & enums */
00030 #define HEMI_ERROR              0xF0000000
00031 
00032 #define HEMI_TRUE               0x00000001
00033 #define HEMI_FALSE              0x00000000
00034 
00035 // can't read (does not exist or ran out of data)
00036 #define HEMI_ERROR_FILE_READ    0x10000000
00037 // wrong format
00038 #define HEMI_ERROR_FILE_FORMAT  0x20000000
00039 // alloc error
00040 #define HEMI_ERROR_MEMORY       0x30000000
00041 // string read error
00042 #define HEMI_ERROR_STRING_READ  0x40000000
00043 
00044 #include "util.h"
00045 //#include "mesh.h"
00046 
00047 #endif

Generated on Fri Jun 1 09:08:56 2007 for Antigone by  doxygen 1.4.7