mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 08:28:11 +00:00
Cube: Use ElapsedTimer::start_new()
This commit is contained in:
parent
12024aeda9
commit
ddfdfc2342
1 changed files with 1 additions and 2 deletions
|
@ -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 },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue