From: Seth Date: Wed, 23 Oct 2024 23:37:59 +0000 (-0700) Subject: Another trivial change to test receive hook X-Git-Url: https://isoptera.lcsc.edu/gitweb/?a=commitdiff_plain;h=95f3d8ca47e5a9242e8577f711e9d34d9c67c4ee;p=example_engine%2F.git Another trivial change to test receive hook --- diff --git a/main.cpp b/main.cpp index c45dc00..c125f76 100644 --- a/main.cpp +++ b/main.cpp @@ -181,7 +181,7 @@ void object_movement(){ } // grand_mutex.unlock(); for(gameobject* o : objects) - o->move(); // move needs a parameter which indicates how long since we last called move + o->move(); // move needs a parameter which indicates how long since we last called move (loop_time) auto end_time = std::chrono::system_clock::now(); int cpu_time = std::chrono::duration_cast(end_time - start_time).count(); last_call = start_time;