Skip to content

Commit

Permalink
Correct comment in VoxelEdgeCollisionFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
notgiven688 committed May 9, 2024
1 parent 2fdbccd commit 0a806cd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/JitterDemo/Demos/Voxels/VoxelEdgeCollisionFilter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0a806cd

Please sign in to comment.