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/windows | |
| 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/windows')
3 files changed, 33 insertions, 0 deletions
diff --git a/PxShared/src/foundation/include/windows/PsWindowsAoS.h b/PxShared/src/foundation/include/windows/PsWindowsAoS.h index 8d0f7510..a4d58c93 100644 --- a/PxShared/src/foundation/include/windows/PsWindowsAoS.h +++ b/PxShared/src/foundation/include/windows/PsWindowsAoS.h @@ -36,6 +36,13 @@ #error Vector intrinsics should not be included when using scalar implementation. #endif +namespace physx +{ +namespace shdfnd +{ +namespace aos +{ + typedef __m128 FloatV; typedef __m128 Vec3V; typedef __m128 Vec4V; @@ -128,4 +135,8 @@ struct Mat44V Vec4V PX_ALIGN(16, col3); } PX_ALIGN_SUFFIX(16); +} // namespace aos +} // namespace shdfnd +} // namespace physx + #endif // PSFOUNDATION_PSWINDOWSAOS_H diff --git a/PxShared/src/foundation/include/windows/PsWindowsInlineAoS.h b/PxShared/src/foundation/include/windows/PsWindowsInlineAoS.h index 2635311c..f5a2a44d 100644 --- a/PxShared/src/foundation/include/windows/PsWindowsInlineAoS.h +++ b/PxShared/src/foundation/include/windows/PsWindowsInlineAoS.h @@ -36,6 +36,13 @@ #include "../PsVecMathSSE.h" +namespace physx +{ +namespace shdfnd +{ +namespace aos +{ + ////////////////////////////////////////////////////////////////////// //Test that Vec3V and FloatV are legal ////////////////////////////////////////////////////////////////////// @@ -3118,4 +3125,8 @@ PX_FORCE_INLINE Vec4V V4ConvertFromI32V(const VecI32V in) return _mm_cvtepi32_ps(internalWindowsSimd::m128_F2I(in)); } +} // namespace aos +} // namespace shdfnd +} // namespace physx + #endif // PSFOUNDATION_PSWINDOWSINLINEAOS_H diff --git a/PxShared/src/foundation/include/windows/PsWindowsTrigConstants.h b/PxShared/src/foundation/include/windows/PsWindowsTrigConstants.h index 80a704bc..f78fe4cf 100644 --- a/PxShared/src/foundation/include/windows/PsWindowsTrigConstants.h +++ b/PxShared/src/foundation/include/windows/PsWindowsTrigConstants.h @@ -30,6 +30,13 @@ #ifndef PSFOUNDATION_PSWINDOWSTRIGCONSTANTS_H #define PSFOUNDATION_PSWINDOWSTRIGCONSTANTS_H +namespace physx +{ +namespace shdfnd +{ +namespace aos +{ + #define PX_GLOBALCONST extern const __declspec(selectany) __declspec(align(16)) struct PX_VECTORF32 @@ -84,4 +91,8 @@ PX_GLOBALCONST PX_VECTORF32 g_PXPiConstants0 = { { PxPi, PxTwoPi, PxInvPi, PxInv PX_GLOBALCONST PX_VECTORF32 g_PXReciprocalTwoPi = { { PxInvTwoPi, PxInvTwoPi, PxInvTwoPi, PxInvTwoPi } }; PX_GLOBALCONST PX_VECTORF32 g_PXTwoPi = { { PxTwoPi, PxTwoPi, PxTwoPi, PxTwoPi } }; +} // namespace aos +} // namespace shdfnd +} // namespace physx + #endif |