aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Source/SceneQuery/src/SqAABBTree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'PhysX_3.4/Source/SceneQuery/src/SqAABBTree.cpp')
-rw-r--r--PhysX_3.4/Source/SceneQuery/src/SqAABBTree.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/PhysX_3.4/Source/SceneQuery/src/SqAABBTree.cpp b/PhysX_3.4/Source/SceneQuery/src/SqAABBTree.cpp
index 46ad64c7..bb628010 100644
--- a/PhysX_3.4/Source/SceneQuery/src/SqAABBTree.cpp
+++ b/PhysX_3.4/Source/SceneQuery/src/SqAABBTree.cpp
@@ -615,7 +615,8 @@ static PX_FORCE_INLINE void refitNode(AABBTreeRuntimeNode* PX_RESTRICT current,
else
{
// Might happen after a node has been invalidated
- const float max = 0.25f * 1e33f; // ###
+// const float max = 0.25f * 1e33f; // ###
+ const float max = PxSqrt(0.25f * 1e33f); // ###
resultMinV = V4Load(max);
resultMaxV = V4Load(-max);
}