mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
gui shadowvar cleanups
This commit is contained in:
parent
a0eebd01c8
commit
f0c29172ca
9 changed files with 40 additions and 46 deletions
|
|
@ -535,10 +535,10 @@ void GuiNavEditorCtrl::renderScene(const RectI & updateRect)
|
|||
GFXStateBlockDesc desc;
|
||||
desc.setBlend(false);
|
||||
desc.setZReadWrite(true ,true);
|
||||
MatrixF mat(true);
|
||||
mat.setPosition(mLinkStart);
|
||||
MatrixF linkMat(true);
|
||||
linkMat.setPosition(mLinkStart);
|
||||
Point3F scale(0.8f, 0.8f, 0.8f);
|
||||
GFX->getDrawUtil()->drawTransform(desc, mat, &scale);
|
||||
GFX->getDrawUtil()->drawTransform(desc, linkMat, &scale);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue