Skip to content

Commit

Permalink
debug draw off
Browse files Browse the repository at this point in the history
  • Loading branch information
turanszkij committed Mar 1, 2025
1 parent 489c2f5 commit e05163f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions WickedEngine/wiPhysics_Jolt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2553,9 +2553,12 @@ namespace wi::physics

scene.RefreshHierarchyTopdownFromParent(wheel_entity);

#if 0
// Debug draw:
XMFLOAT4X4 tmp = cast(Mat44::sRotationTranslation(wheelrot, wheelpos));
std::scoped_lock lck(scene.locker);
wi::renderer::DrawAxis(XMLoadFloat4x4(&tmp), 1);
#endif
}
}
});
Expand Down

0 comments on commit e05163f

Please sign in to comment.