aboutsummaryrefslogtreecommitdiff
path: root/tests/bullet/src/vectormath/vmInclude.h
blob: 63a84998ca5921d49282bae32291869cc9f51952 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#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