Imported Upstream version 2.81
[platform/upstream/libbullet.git] / src / vectormath / vmInclude.h
1
2 #ifndef __VM_INCLUDE_H
3 #define __VM_INCLUDE_H
4
5 #include "LinearMath/btScalar.h"
6
7 #if defined (USE_SYSTEM_VECTORMATH) || defined (__CELLOS_LV2__)
8         #include <vectormath_aos.h>
9 #else //(USE_SYSTEM_VECTORMATH)
10         #if defined (BT_USE_SSE) 
11                 #include "sse/vectormath_aos.h"
12         #else //all other platforms
13         #if defined (BT_USE_NEON)
14             #include "neon/vectormath_aos.h"
15         #else
16             #include "scalar/vectormath_aos.h"
17         #endif
18         #endif //(BT_USE_SSE) && defined (_WIN32)
19 #endif //(USE_SYSTEM_VECTORMATH)
20
21
22
23 typedef Vectormath::Aos::Vector3    vmVector3;
24 typedef Vectormath::Aos::Quat       vmQuat;
25 typedef Vectormath::Aos::Matrix3    vmMatrix3;
26 typedef Vectormath::Aos::Transform3 vmTransform3;
27 typedef Vectormath::Aos::Point3     vmPoint3;
28
29 #endif //__VM_INCLUDE_H
30
31