From 0a806cd89c7f07344ab4ea856db1266248a43e32 Mon Sep 17 00:00:00 2001 From: notgiven688 Date: Thu, 9 May 2024 21:12:47 +0200 Subject: [PATCH] Correct comment in VoxelEdgeCollisionFilter --- src/JitterDemo/Demos/Voxels/VoxelEdgeCollisionFilter.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/JitterDemo/Demos/Voxels/VoxelEdgeCollisionFilter.cs b/src/JitterDemo/Demos/Voxels/VoxelEdgeCollisionFilter.cs index 51bdfc28..60d3d824 100644 --- a/src/JitterDemo/Demos/Voxels/VoxelEdgeCollisionFilter.cs +++ b/src/JitterDemo/Demos/Voxels/VoxelEdgeCollisionFilter.cs @@ -54,8 +54,7 @@ public bool Filter(Shape shapeA, Shape shapeB, ref JVector pAA, ref JVector pBB, (relPos.Y > 0.0f && cnormal.Y > trsh && (nb & 4) != 0) || (relPos.Y < 0.0f && cnormal.Y < -trsh && (nb & 8) != 0) || (relPos.Z > 0.0f && cnormal.Z > trsh && (nb & 16) != 0) || - (relPos.Z < 0.0f && cnormal.Z < -trsh && (nb & 32) != 0)) { - return false; + (relPos.Z < 0.0f && cnormal.Z < -trsh && (nb & 32) != 0)); */ if(relPos.X > 0.0f && cnormal.X > trsh)