diff --git a/src/BulletCollision/NarrowPhaseCollision/btManifoldPoint.h b/src/BulletCollision/NarrowPhaseCollision/btManifoldPoint.h index 10eb1e788..cd310570e 100644 --- a/src/BulletCollision/NarrowPhaseCollision/btManifoldPoint.h +++ b/src/BulletCollision/NarrowPhaseCollision/btManifoldPoint.h @@ -19,7 +19,7 @@ subject to the following restrictions: #include "LinearMath/btVector3.h" #include "LinearMath/btTransformUtil.h" -#if 1 //#ifdef PFX_USE_FREE_VECTORMATH +#ifdef PFX_USE_FREE_VECTORMATH #include "physics_effects\base_level\solver\pfx_constraint_row.h" typedef sce::PhysicsEffects::PfxConstraintRow btConstraintRow; #else diff --git a/src/BulletMultiThreaded/PlatformDefinitions.h b/src/BulletMultiThreaded/PlatformDefinitions.h index ebd84265d..393d4cb57 100644 --- a/src/BulletMultiThreaded/PlatformDefinitions.h +++ b/src/BulletMultiThreaded/PlatformDefinitions.h @@ -5,7 +5,11 @@ #include "LinearMath/btScalar.h" #include "LinearMath/btMinMax.h" +#ifdef PFX_USE_FREE_VECTORMATH #include "vecmath/vmInclude.h" +#else +#include "vectormath/vmInclude.h" +#endif//PFX_USE_FREE_VECTORMATH @@ -27,9 +31,11 @@ typedef union typedef unsigned char uint8_t; #ifndef __PHYSICS_COMMON_H__ +#ifndef PFX_USE_FREE_VECTORMATH #ifndef __BT_SKIP_UINT64_H typedef unsigned long int uint64_t; #endif //__BT_SKIP_UINT64_H +#endif //PFX_USE_FREE_VECTORMATH typedef unsigned int uint32_t; #endif //__PHYSICS_COMMON_H__ typedef unsigned short uint16_t; diff --git a/src/BulletMultiThreaded/SpuNarrowPhaseCollisionTask/Box.h b/src/BulletMultiThreaded/SpuNarrowPhaseCollisionTask/Box.h index d9bb3ff81..e51796119 100644 --- a/src/BulletMultiThreaded/SpuNarrowPhaseCollisionTask/Box.h +++ b/src/BulletMultiThreaded/SpuNarrowPhaseCollisionTask/Box.h @@ -24,7 +24,7 @@ subject to the following restrictions: #include -#include "vecmath/vmInclude.h" + #include "../PlatformDefinitions.h" diff --git a/src/BulletMultiThreaded/TrbStateVec.h b/src/BulletMultiThreaded/TrbStateVec.h index 0304f7b4e..78a28466f 100644 --- a/src/BulletMultiThreaded/TrbStateVec.h +++ b/src/BulletMultiThreaded/TrbStateVec.h @@ -18,7 +18,11 @@ subject to the following restrictions: #define __TRBSTATEVEC_H__ #include +#ifdef PFX_USE_FREE_VECTORMATH #include "vecmath/vmInclude.h" +#else +#include "vectormath/vmInclude.h" +#endif //PFX_USE_FREE_VECTORMATH #include "PlatformDefinitions.h" diff --git a/src/BulletMultiThreaded/btParallelConstraintSolver.cpp b/src/BulletMultiThreaded/btParallelConstraintSolver.cpp index f84175724..c7607485a 100644 --- a/src/BulletMultiThreaded/btParallelConstraintSolver.cpp +++ b/src/BulletMultiThreaded/btParallelConstraintSolver.cpp @@ -20,8 +20,11 @@ subject to the following restrictions: #include "LinearMath/btQuickprof.h" #include "BulletMultiThreaded/btThreadSupportInterface.h" - +#ifdef PFX_USE_FREE_VECTORMATH #include "vecmath/vmInclude.h" +#else +#include "vectormath/vmInclude.h" +#endif //PFX_USE_FREE_VECTORMATH #include "HeapManager.h" diff --git a/src/BulletMultiThreaded/vectormath2bullet.h b/src/BulletMultiThreaded/vectormath2bullet.h index 4523babf0..1fe08bd88 100644 --- a/src/BulletMultiThreaded/vectormath2bullet.h +++ b/src/BulletMultiThreaded/vectormath2bullet.h @@ -30,8 +30,11 @@ #ifndef AOS_VECTORMATH_BULLET_CONVERT_H #define AOS_VECTORMATH_BULLET_CONVERT_H - +#ifdef PFX_USE_FREE_VECTORMATH #include "vecmath/vmInclude.h" +#else +#include "vectormath/vmInclude.h" +#endif //PFX_USE_FREE_VECTORMATH #include "LinearMath/btVector3.h" #include "LinearMath/btQuaternion.h" #include "LinearMath/btMatrix3x3.h"