aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/src/ClothImpl.h
diff options
context:
space:
mode:
authorMarijn Tamis <[email protected]>2017-07-31 13:52:20 +0200
committerMarijn Tamis <[email protected]>2017-07-31 13:52:20 +0200
commit223aff8b3f73bb786dce5c67b83ff55208d43969 (patch)
tree2e3e2760cb49afbf8d9379e23e27d175bbba27aa /NvCloth/src/ClothImpl.h
parentRemove unused copy of PxShared. (diff)
downloadnvcloth-1.1.2.tar.xz
nvcloth-1.1.2.zip
NvCloth 1.1.2 Release. (22576033)v1.1.2
Diffstat (limited to 'NvCloth/src/ClothImpl.h')
-rw-r--r--NvCloth/src/ClothImpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/NvCloth/src/ClothImpl.h b/NvCloth/src/ClothImpl.h
index 1e8d9a1..4d7b28d 100644
--- a/NvCloth/src/ClothImpl.h
+++ b/NvCloth/src/ClothImpl.h
@@ -316,7 +316,7 @@ inline physx::PxVec3 ClothImpl<T>::getGravity() const
inline float safeLog2(float x)
{
- NV_CLOTH_ASSERT(("safeLog2",x >= 0.0f));
+ NV_CLOTH_ASSERT_WITH_MESSAGE("safeLog2",x >= 0.0f);
return x > 0 ? physx::shdfnd::log2(x) : -FLT_MAX_EXP;
}