Only use a system-wide vectormath_aos.h on CELLOS_LV2 or if USE_SYSTEM_VECTORMATH
(otherwise use the included version in Bullet/src/BulletMultiThreaded/vectormath
This commit is contained in:
@@ -24,8 +24,13 @@ subject to the following restrictions:
|
|||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
//#include "BulletMultiThreaded/vectormath/scalar/cpp/vectormath_aos.h"
|
///only use a system-wide vectormath_aos.h on CELLOS_LV2 or if USE_SYSTEM_VECTORMATH
|
||||||
|
#if defined(__CELLOS_LV2__) || defined (USE_SYSTEM_VECTORMATH)
|
||||||
#include <vectormath_aos.h>
|
#include <vectormath_aos.h>
|
||||||
|
#else
|
||||||
|
#include "BulletMultiThreaded/vectormath/scalar/cpp/vectormath_aos.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
using namespace Vectormath::Aos;
|
using namespace Vectormath::Aos;
|
||||||
|
|||||||
@@ -30,8 +30,13 @@
|
|||||||
#ifndef AOS_VECTORMATH_BULLET_CONVERT_H
|
#ifndef AOS_VECTORMATH_BULLET_CONVERT_H
|
||||||
#define AOS_VECTORMATH_BULLET_CONVERT_H
|
#define AOS_VECTORMATH_BULLET_CONVERT_H
|
||||||
|
|
||||||
|
|
||||||
|
///only use a system-wide vectormath_aos.h on CELLOS_LV2 or if USE_SYSTEM_VECTORMATH
|
||||||
|
#if defined(__CELLOS_LV2__) || defined (USE_SYSTEM_VECTORMATH)
|
||||||
#include <vectormath_aos.h>
|
#include <vectormath_aos.h>
|
||||||
//#include "BulletMultiThreaded/vectormath/scalar/cpp/vectormath_aos.h"
|
#else
|
||||||
|
#include "BulletMultiThreaded/vectormath/scalar/cpp/vectormath_aos.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "LinearMath/btVector3.h"
|
#include "LinearMath/btVector3.h"
|
||||||
#include "LinearMath/btQuaternion.h"
|
#include "LinearMath/btQuaternion.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user