Cleanup.
This commit is contained in:
parent
5433fc084e
commit
e7e28151c1
@ -692,7 +692,9 @@ public:
|
||||
bx::mtxSRT(bunny, 0.03f, 0.03f, 0.03f, 0.0f, 0.0f, 0.0f, -3.0f, 0.0f, 0.0f);
|
||||
|
||||
ddSetTransform(bunny);
|
||||
ddSetWireframe(bx::fmod(time, 2.0f) > 1.0f);
|
||||
const bool wireframe = bx::fmod(time, 2.0f) > 1.0f;
|
||||
ddSetWireframe(wireframe);
|
||||
ddSetColor(wireframe ? 0xffff00ff : 0xff00ff00);
|
||||
ddDraw(m_bunny);
|
||||
}
|
||||
ddPop();
|
||||
|
Loading…
Reference in New Issue
Block a user