Set up CBasicViewport to draw an XYZ axis overlay in the corner

This commit is contained in:
parax0
2015-09-01 19:21:10 -04:00
parent ea7e4d2b25
commit 89c1654b6a
10 changed files with 41 additions and 31 deletions

View File

@@ -168,6 +168,9 @@ void CScriptNode::DrawSelection()
if (mpInstance)
{
CGraphics::sMVPBlock.ModelMatrix = CMatrix4f::skIdentity;
CGraphics::UpdateMVPBlock();
for (u32 iIn = 0; iIn < mpInstance->NumInLinks(); iIn++)
{
const SLink& con = mpInstance->InLink(iIn);