vmInclude.h 799 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef __VM_INCLUDE_H
  2. #define __VM_INCLUDE_H
  3. #include "bullet/LinearMath/btScalar.h"
  4. #if defined (USE_SYSTEM_VECTORMATH) || defined (__CELLOS_LV2__)
  5. #include <vectormath_aos.h>
  6. #else //(USE_SYSTEM_VECTORMATH)
  7. #if defined (BT_USE_SSE)
  8. #include "sse/vectormath_aos.h"
  9. #else //all other platforms
  10. #if defined (BT_USE_NEON)
  11. #include "neon/vectormath_aos.h"
  12. #else
  13. #include "scalar/vectormath_aos.h"
  14. #endif
  15. #endif //(BT_USE_SSE) && defined (_WIN32)
  16. #endif //(USE_SYSTEM_VECTORMATH)
  17. typedef Vectormath::Aos::Vector3 vmVector3;
  18. typedef Vectormath::Aos::Quat vmQuat;
  19. typedef Vectormath::Aos::Matrix3 vmMatrix3;
  20. typedef Vectormath::Aos::Transform3 vmTransform3;
  21. typedef Vectormath::Aos::Point3 vmPoint3;
  22. #endif //__VM_INCLUDE_H