diff options
author | Ton Roosendaal <ton@blender.org> | 2009-10-20 19:51:18 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-10-20 19:51:18 +0400 |
commit | 0e5a6a21e880a083ad0b565cbf75095f34b891f4 (patch) | |
tree | 93b28677f4db43ee1638be884b39998612d852c8 /source/gameengine/Ketsji/KX_GameObject.cpp | |
parent | 5571d37e94a2989ea0dd727abb43887a95f585f3 (diff) |
Fixes to get Blender compile and run on PowerPC OSX 10.3, gcc 3.3
(yes antique, but having 5 year old OS's work is very cool)
In short:
- include <cmath> after <math.h> fails
- STL template issues (recursion, syntax)
Diffstat (limited to 'source/gameengine/Ketsji/KX_GameObject.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_GameObject.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_GameObject.cpp b/source/gameengine/Ketsji/KX_GameObject.cpp index 9bb261fcba9..d516d3e03ff 100644 --- a/source/gameengine/Ketsji/KX_GameObject.cpp +++ b/source/gameengine/Ketsji/KX_GameObject.cpp @@ -46,7 +46,6 @@ typedef unsigned long uint_ptr; #define KX_INERTIA_INFINITE 10000 -#include "BLI_arithb.h" #include "RAS_IPolygonMaterial.h" #include "KX_BlenderMaterial.h" #include "KX_GameObject.h" @@ -80,6 +79,8 @@ typedef unsigned long uint_ptr; #include "KX_SG_NodeRelationships.h" +#include "BLI_arithb.h" + static MT_Point3 dummy_point= MT_Point3(0.0, 0.0, 0.0); static MT_Vector3 dummy_scaling = MT_Vector3(1.0, 1.0, 1.0); static MT_Matrix3x3 dummy_orientation = MT_Matrix3x3( 1.0, 0.0, 0.0, |