aboutsummaryrefslogtreecommitdiff
path: root/src/example/demo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/example/demo.cpp')
-rw-r--r--src/example/demo.cpp2
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 });