aboutsummaryrefslogtreecommitdiff
path: root/PxShared/src/foundation/include/PsVecMathSSE.h
diff options
context:
space:
mode:
authorSheikh Dawood Abdul Ajees <[email protected]>2018-11-27 13:02:50 -0600
committerSheikh Dawood Abdul Ajees <[email protected]>2018-11-27 13:02:50 -0600
commit78cab22a61786a23f2ee1ad7c5dcbec0024befca (patch)
tree27cb86e3add785670ddfdbfc901f1654d74d1cb2 /PxShared/src/foundation/include/PsVecMathSSE.h
parentPhysX 3.4, APEX 1.4 patch release @24990349 (diff)
downloadphysx-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/PsVecMathSSE.h')
-rw-r--r--PxShared/src/foundation/include/PsVecMathSSE.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/PxShared/src/foundation/include/PsVecMathSSE.h b/PxShared/src/foundation/include/PsVecMathSSE.h
index 13e44663..fd7af011 100644
--- a/PxShared/src/foundation/include/PsVecMathSSE.h
+++ b/PxShared/src/foundation/include/PsVecMathSSE.h
@@ -30,6 +30,13 @@
#ifndef PSFOUNDATION_PSVECMATHSSE_H
#define PSFOUNDATION_PSVECMATHSSE_H
+namespace physx
+{
+namespace shdfnd
+{
+namespace aos
+{
+
namespace
{
const PX_ALIGN(16, PxF32) minus1w[4] = { 0.0f, 0.0f, 0.0f, -1.0f };
@@ -52,5 +59,10 @@ PX_FORCE_INLINE void QuatGetMat33V(const QuatVArg q, Vec3V& column0, Vec3V& colu
column2 = V4MulAdd(v, V4GetZ(q2), _mm_shuffle_ps(a2, a2, _MM_SHUFFLE(3, 0, 2, 1)));
}
+} // namespace aos
+} // namespace shdfnd
+} // namespace physx
+
+
#endif // PSFOUNDATION_PSVECMATHSSE_H