diff options
| author | Sheikh Dawood Abdul Ajees <[email protected]> | 2018-11-27 13:02:50 -0600 |
|---|---|---|
| committer | Sheikh Dawood Abdul Ajees <[email protected]> | 2018-11-27 13:02:50 -0600 |
| commit | 78cab22a61786a23f2ee1ad7c5dcbec0024befca (patch) | |
| tree | 27cb86e3add785670ddfdbfc901f1654d74d1cb2 /PxShared/src/foundation/include/PsVecMath.h | |
| parent | PhysX 3.4, APEX 1.4 patch release @24990349 (diff) | |
| download | physx-3.4-78cab22a61786a23f2ee1ad7c5dcbec0024befca.tar.xz physx-3.4-78cab22a61786a23f2ee1ad7c5dcbec0024befca.zip | |
PhysX 3.4, APEX 1.4 patch release @25256367
Diffstat (limited to 'PxShared/src/foundation/include/PsVecMath.h')
| -rw-r--r-- | PxShared/src/foundation/include/PsVecMath.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/PxShared/src/foundation/include/PsVecMath.h b/PxShared/src/foundation/include/PsVecMath.h index 985e004f..eabda20e 100644 --- a/PxShared/src/foundation/include/PsVecMath.h +++ b/PxShared/src/foundation/include/PsVecMath.h @@ -71,6 +71,12 @@ #include <xmmintrin.h> #endif +#if COMPILE_VECTOR_INTRINSICS +#include "PsAoS.h" +#else +#include "PsVecMathAoSScalar.h" +#endif + namespace physx { namespace shdfnd @@ -90,12 +96,6 @@ namespace aos // col4). // Mat44V - 16-byte aligned representation of any 4x4 matrix. -#if COMPILE_VECTOR_INTRINSICS -#include "PsAoS.h" -#else -#include "PsVecMathAoSScalar.h" -#endif - ////////////////////////////////////////// // Construct a simd type from a scalar type ////////////////////////////////////////// @@ -1322,6 +1322,10 @@ PX_FORCE_INLINE Vec3V V3LoadU_SafeReadW(const PxVec3& f) return Vec3V_From_Vec4V(V4LoadU(&f.x)); } +} // namespace aos +} // namespace shdfnd +} // namespace physx + // Now for the cross-platform implementations of the 16-byte aligned maths functions (win32/360/ppu/spu etc). #if COMPILE_VECTOR_INTRINSICS #include "PsInlineAoS.h" @@ -1330,8 +1334,4 @@ PX_FORCE_INLINE Vec3V V3LoadU_SafeReadW(const PxVec3& f) #endif // #if !COMPILE_VECTOR_INTRINSICS #include "PsVecQuat.h" -} // namespace aos -} // namespace shdfnd -} // namespace physx - #endif // PSFOUNDATION_PSVECMATH_H |