aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/src/ps/windows
diff options
context:
space:
mode:
Diffstat (limited to 'NvCloth/src/ps/windows')
-rw-r--r--NvCloth/src/ps/windows/PsWindowsAtomic.cpp13
-rw-r--r--NvCloth/src/ps/windows/PsWindowsFPU.h4
2 files changed, 11 insertions, 6 deletions
diff --git a/NvCloth/src/ps/windows/PsWindowsAtomic.cpp b/NvCloth/src/ps/windows/PsWindowsAtomic.cpp
index c78728f..fa9c115 100644
--- a/NvCloth/src/ps/windows/PsWindowsAtomic.cpp
+++ b/NvCloth/src/ps/windows/PsWindowsAtomic.cpp
@@ -30,9 +30,13 @@
#include "PsWindowsInclude.h"
#include "NvCloth/ps/PsAtomic.h"
-namespace physx
+/** \brief NVidia namespace */
+namespace nv
{
-namespace shdfnd
+/** \brief nvcloth namespace */
+namespace cloth
+{
+namespace ps
{
int32_t atomicExchange(volatile int32_t* val, int32_t val2)
@@ -92,5 +96,6 @@ int32_t atomicMax(volatile int32_t* val, int32_t val2)
return newValue;
}
-} // namespace shdfnd
-} // namespace physx
+} // namespace ps
+} // namespace cloth
+} // namespace nv
diff --git a/NvCloth/src/ps/windows/PsWindowsFPU.h b/NvCloth/src/ps/windows/PsWindowsFPU.h
index d85e531..dc8b90e 100644
--- a/NvCloth/src/ps/windows/PsWindowsFPU.h
+++ b/NvCloth/src/ps/windows/PsWindowsFPU.h
@@ -30,7 +30,7 @@
#ifndef PSFOUNDATION_PSWINDOWSFPU_H
#define PSFOUNDATION_PSWINDOWSFPU_H
-PX_INLINE physx::shdfnd::SIMDGuard::SIMDGuard()
+PX_INLINE nv::cloth::ps::SIMDGuard::SIMDGuard()
{
#if !PX_ARM
mControlWord = _mm_getcsr();
@@ -39,7 +39,7 @@ PX_INLINE physx::shdfnd::SIMDGuard::SIMDGuard()
#endif
}
-PX_INLINE physx::shdfnd::SIMDGuard::~SIMDGuard()
+PX_INLINE nv::cloth::ps::SIMDGuard::~SIMDGuard()
{
#if !PX_ARM
// restore control word and clear any exception flags