This commit is contained in:
Branimir Karadžić 2018-01-12 10:03:59 -08:00
parent 5433fc084e
commit e7e28151c1

View File

@ -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); bx::mtxSRT(bunny, 0.03f, 0.03f, 0.03f, 0.0f, 0.0f, 0.0f, -3.0f, 0.0f, 0.0f);
ddSetTransform(bunny); 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); ddDraw(m_bunny);
} }
ddPop(); ddPop();