diff options
Diffstat (limited to 'NvCloth/src/ClothImpl.h')
| -rw-r--r-- | NvCloth/src/ClothImpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NvCloth/src/ClothImpl.h b/NvCloth/src/ClothImpl.h index 4d7b28d..24f7732 100644 --- a/NvCloth/src/ClothImpl.h +++ b/NvCloth/src/ClothImpl.h @@ -1220,7 +1220,7 @@ inline float ClothImpl<T>::getLiftCoefficient() const template <typename T> inline void ClothImpl<T>::setFluidDensity(float fluidDensity) { - NV_CLOTH_ASSERT(fluidDensity < 0.f); + NV_CLOTH_ASSERT(fluidDensity > 0.f); if (fluidDensity == mFluidDensity) return; |