Cube: Use ElapsedTimer::start_new()

This commit is contained in:
Brian Gianforcaro 2021-09-12 08:52:45 -07:00 committed by Brian Gianforcaro
parent 12024aeda9
commit ddfdfc2342
Notes: sideshowbarker 2024-07-18 04:06:48 +09:00

View File

@ -83,8 +83,7 @@ void Cube::paint_event(GUI::PaintEvent& event)
void Cube::timer_event(Core::TimerEvent&)
{
Core::ElapsedTimer timer;
timer.start();
auto timer = Core::ElapsedTimer::start_new();
const FloatVector3 vertices[8] {
{ -1, -1, -1 },