diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-19 13:50:44 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-19 13:50:44 +0100 |
commit | 794efc4ef7a44b190a4d9ecc2dd84a66c62ab005 (patch) | |
tree | 5c0c93f0e1e21431837ac0ab49950703d20209be /src/example/game.cpp | |
parent | aaca31b3495060b46f178d476636563279fc1c23 (diff) | |
parent | ea85bf5d329c2f3571046329a2d22f9db7847544 (diff) |
Merge branch 'master' into niels/rendering_fixes
Diffstat (limited to 'src/example/game.cpp')
-rw-r--r-- | src/example/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/example/game.cpp b/src/example/game.cpp index 22effd2..3975650 100644 --- a/src/example/game.cpp +++ b/src/example/game.cpp @@ -86,7 +86,7 @@ class MyScript1 : public Script { subscribe<KeyPressEvent>( [this](const KeyPressEvent & ev) -> bool { return this->keypressed(ev); }); } - void update() { + void update(duration_t) { Rigidbody & tf = this->get_component<Rigidbody>(); Log::logf("linear_velocity.x {}", tf.data.linear_velocity.x); Log::logf("linear_velocity.y {}", tf.data.linear_velocity.y); |