mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
Merge pull request #537 from DavidWyand-GG/Updates
Fix for Bullet frustum reference
This commit is contained in:
commit
a2f57dff8f
1 changed files with 1 additions and 1 deletions
|
|
@ -286,7 +286,7 @@ void BtWorld::explosion( const Point3F &pos, F32 radius, F32 forceMagnitude )
|
||||||
|
|
||||||
void BtWorld::onDebugDraw( const SceneRenderState *state )
|
void BtWorld::onDebugDraw( const SceneRenderState *state )
|
||||||
{
|
{
|
||||||
mDebugDraw.setCuller( &state->getFrustum() );
|
mDebugDraw.setCuller( &state->getCullingFrustum() );
|
||||||
|
|
||||||
mDynamicsWorld->setDebugDrawer( &mDebugDraw );
|
mDynamicsWorld->setDebugDrawer( &mDebugDraw );
|
||||||
mDynamicsWorld->debugDrawWorld();
|
mDynamicsWorld->debugDrawWorld();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue