Create a separate library for MiniCL (a rudimentary OpenCL wrapper to run kernels on multi-core CPU using the default C++ compiler, using Win32 Threads or Posix) tweak vectormath/vmInclude.h for PS3 platforms fix warning in btKinematicCharacterController
28 lines
720 B
C
28 lines
720 B
C
|
|
#ifndef __VM_INCLUDE_H
|
|
#define __VM_INCLUDE_H
|
|
|
|
#include "LinearMath/btScalar.h"
|
|
|
|
#if defined (USE_SYSTEM_VECTORMATH) || defined (__CELLOS_LV2__)
|
|
#include <vectormath_aos.h>
|
|
#else //(USE_SYSTEM_VECTORMATH)
|
|
#if defined (BT_USE_SSE) && defined (_WIN32)
|
|
#include "sse/vectormath_aos.h"
|
|
#else //all other platforms
|
|
#include "scalar/vectormath_aos.h"
|
|
#endif //(BT_USE_SSE) && defined (_WIN32)
|
|
#endif //(USE_SYSTEM_VECTORMATH)
|
|
|
|
|
|
|
|
typedef Vectormath::Aos::Vector3 vmVector3;
|
|
typedef Vectormath::Aos::Quat vmQuat;
|
|
typedef Vectormath::Aos::Matrix3 vmMatrix3;
|
|
typedef Vectormath::Aos::Transform3 vmTransform3;
|
|
typedef Vectormath::Aos::Point3 vmPoint3;
|
|
|
|
#endif //__VM_INCLUDE_H
|
|
|
|
|