diff options
author | max-001 <maxsmits21@kpnmail.nl> | 2024-12-09 12:04:26 +0100 |
---|---|---|
committer | max-001 <maxsmits21@kpnmail.nl> | 2024-12-09 12:04:26 +0100 |
commit | a4d76993e51ac4486fc313e868285eb7b4cb89f2 (patch) | |
tree | d25c54715fd4ba72c47cc0caac4281af4cc3bcc4 | |
parent | c43885fa393ddf4ab28ad55643100f987b82abdc (diff) |
Make format
-rw-r--r-- | src/example/AITest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/example/AITest.cpp b/src/example/AITest.cpp index 857eb94..0920fb2 100644 --- a/src/example/AITest.cpp +++ b/src/example/AITest.cpp @@ -57,7 +57,8 @@ public: ai.make_circle_path(1000, {0, -1000}, 1.5707, true); ai.make_circle_path(1000, {0, 1000}, 4.7124, false); game_object1.add_component<Rigidbody>(Rigidbody::Data{ - .mass = 0.5f, .max_linear_velocity = {40, 40}, // sqrt(21^2 + 21^2) = 30 + .mass = 0.5f, + .max_linear_velocity = {40, 40}, }); game_object1.add_component<BehaviorScript>().set_script<Script1>(); |