Fix compile error in Visual Studio 2005 build: only enable SSE/SIMD intrinsics for btVector3 for Visual Studio 2008 and higher
This commit is contained in:
@@ -19,10 +19,12 @@
|
||||
#define BT_USE_SSE_IN_API
|
||||
#endif
|
||||
|
||||
|
||||
#include "btVector3.h"
|
||||
|
||||
#if defined (BT_USE_SSE) || defined (BT_USE_NEON)
|
||||
|
||||
|
||||
#if defined BT_USE_SIMD_VECTOR3
|
||||
#ifdef __APPLE__
|
||||
#include <stdint.h>
|
||||
typedef float float4 __attribute__ ((vector_size(16)));
|
||||
|
||||
Reference in New Issue
Block a user