00001 00002 // Should be included by Opcode.h if needed 00003 00004 #define ICE_DONT_CHECK_COMPILER_OPTIONS 00005 00006 // From Windows... 00007 typedef int BOOL; 00008 #ifndef FALSE 00009 #define FALSE 0 00010 #endif 00011 00012 #ifndef TRUE 00013 #define TRUE 1 00014 #endif 00015 00016 #include <stdio.h> 00017 #include <stdlib.h> 00018 #include <assert.h> 00019 #include <string.h> 00020 #include <float.h> 00021 #include <math.h> 00022 00023 #ifndef ASSERT 00024 #define ASSERT(exp) {} 00025 #endif 00026 #define ICE_COMPILE_TIME_ASSERT(exp) extern char ICE_Dummy[ (exp) ? 1 : -1 ] 00027 00028 #define Log {} 00029 #define SetIceError(a,b) false 00030 #define EC_OUTOFMEMORY "Out of memory" 00031 00032 #include "Ice/IcePreprocessor.h" 00033 00034 #undef ICECORE_API 00035 #define ICECORE_API OPCODE_API 00036 00037 #include "Ice/IceTypes.h" 00038 #include "Ice/IceFPU.h" 00039 #include "Ice/IceMemoryMacros.h" 00040 00041 namespace IceCore 00042 { 00043 #include "Ice/IceUtils.h" 00044 #include "Ice/IceContainer.h" 00045 #include "Ice/IcePairs.h" 00046 #include "Ice/IceRevisitedRadix.h" 00047 #include "Ice/IceRandom.h" 00048 } 00049 using namespace IceCore; 00050 00051 #define ICEMATHS_API OPCODE_API 00052 namespace IceMaths 00053 { 00054 #include "Ice/IceAxes.h" 00055 #include "Ice/IcePoint.h" 00056 #include "Ice/IceHPoint.h" 00057 #include "Ice/IceMatrix3x3.h" 00058 #include "Ice/IceMatrix4x4.h" 00059 #include "Ice/IcePlane.h" 00060 #include "Ice/IceRay.h" 00061 #include "Ice/IceIndexedTriangle.h" 00062 //#include "Ice/IceTriangle.h" 00063 //#include "Ice/IceTriList.h" 00064 #include "Ice/IceAABB.h" 00065 #include "Ice/IceOBB.h" 00066 #include "Ice/IceBoundingSphere.h" 00067 //#include "Ice/IceSegment.h" 00068 //#include "Ice/IceLSS.h" 00069 } 00070 using namespace IceMaths;