mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Merge pull request #830 from Azaezel/alpha40/boundsDisplayfix
fix bounds box display
This commit is contained in:
commit
70971f7c6c
|
|
@ -503,7 +503,7 @@ void SceneManager::_renderScene( SceneRenderState* state, U32 objectMask, SceneZ
|
||||||
const Box3F& worldBox = object->getWorldBox();
|
const Box3F& worldBox = object->getWorldBox();
|
||||||
GFX->getDrawUtil()->drawObjectBox(
|
GFX->getDrawUtil()->drawObjectBox(
|
||||||
desc,
|
desc,
|
||||||
Point3F( worldBox.len_x(), worldBox.len_y(), worldBox.len_z() ),
|
Point3F( worldBox.len_x() / 2, worldBox.len_y() / 2, worldBox.len_z() / 2),
|
||||||
worldBox.getCenter(),
|
worldBox.getCenter(),
|
||||||
MatrixF::Identity,
|
MatrixF::Identity,
|
||||||
ColorI::WHITE
|
ColorI::WHITE
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue