From ca32c59a58d37c1822e185a2d5f3d0d3e8943593 Mon Sep 17 00:00:00 2001 From: Marijn Tamis Date: Thu, 3 May 2018 18:22:48 +0200 Subject: NvCloth 1.1.4 Release. (24070740) --- NvCloth/src/PhaseConfig.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'NvCloth/src/PhaseConfig.cpp') diff --git a/NvCloth/src/PhaseConfig.cpp b/NvCloth/src/PhaseConfig.cpp index 7ea97f3..b5db3b0 100644 --- a/NvCloth/src/PhaseConfig.cpp +++ b/NvCloth/src/PhaseConfig.cpp @@ -30,6 +30,7 @@ #include "NvCloth/PhaseConfig.h" #include "PsMathUtils.h" #include +#include "ClothImpl.h" using namespace physx; @@ -43,14 +44,6 @@ PhaseConfig transform(const PhaseConfig&); using namespace nv; -namespace -{ -float safeLog2(float x) -{ - float saturated = std::max(0.0f, std::min(x, 1.0f)); - return saturated ? shdfnd::log2(saturated) : -FLT_MAX_EXP; -} -} // convert from user input to solver format cloth::PhaseConfig cloth::transform(const PhaseConfig& config) -- cgit v1.2.3