diff options
Diffstat (limited to 'src/example')
-rw-r--r-- | src/example/demo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/example/demo.cpp b/src/example/demo.cpp index 1aadc54..c0c8062 100644 --- a/src/example/demo.cpp +++ b/src/example/demo.cpp @@ -12,7 +12,7 @@ using namespace std; class PlayerController : public Script { void update() { Rigidbody & body = get_component<Rigidbody>(); - Log::logf("linear_velocity = {{{}, {}}}", body.data.linear_velocity.x, body.data.linear_velocity.y); + logf("linear_velocity = {}", body.data.linear_velocity); if (get_key_state(Keycode::SPACE)) { body.add_force_linear({ 0, -1 }); |