mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
fix to display that second box
This commit is contained in:
parent
b19fe23473
commit
9ec243cb87
|
|
@ -771,7 +771,7 @@ void ReflectionProbe::_onRenderViz(ObjectRenderInst *ri,
|
|||
const MatrixF worldToObjectXfm = getTransform();
|
||||
|
||||
Box3F cube(-Point3F(mRadius, mRadius, mRadius),Point3F(mRadius, mRadius, mRadius));
|
||||
Box3F wb = getObjBox();
|
||||
Box3F wb = getWorldBox();
|
||||
cube.setCenter(getPosition()+mProbePosOffset);
|
||||
wb.setCenter(getPosition() + mProbePosOffset);
|
||||
draw->drawCube(desc, cube, color, &worldToObjectXfm);
|
||||
|
|
|
|||
Loading…
Reference in a new issue