mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 11:42:38 +03:00
Cube: Use ElapsedTimer::start_new()
This commit is contained in:
parent
12024aeda9
commit
ddfdfc2342
Notes:
sideshowbarker
2024-07-18 04:06:48 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/ddfdfc23429 Pull-request: https://github.com/SerenityOS/serenity/pull/9999 Reviewed-by: https://github.com/awesomekling ✅
@ -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…
Reference in New Issue
Block a user