mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Fix for Bullet frustum reference
Update to Bullet physics to account for latest SceneRenderState frustum changes.
This commit is contained in:
parent
9d136e8dd8
commit
ca57db1e23
|
|
@ -286,7 +286,7 @@ void BtWorld::explosion( const Point3F &pos, F32 radius, F32 forceMagnitude )
|
|||
|
||||
void BtWorld::onDebugDraw( const SceneRenderState *state )
|
||||
{
|
||||
mDebugDraw.setCuller( &state->getFrustum() );
|
||||
mDebugDraw.setCuller( &state->getCullingFrustum() );
|
||||
|
||||
mDynamicsWorld->setDebugDrawer( &mDebugDraw );
|
||||
mDynamicsWorld->debugDrawWorld();
|
||||
|
|
|
|||
Loading…
Reference in a new issue