aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Rigidbody.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-12 18:26:59 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-12 18:26:59 +0100
commitd9130d78738b6cb1bdc4e7ec65362b0ef46b1035 (patch)
tree00235d096540f315f45767d9dd3b8ec1f4ea3bee /src/crepe/api/Rigidbody.cpp
parent792cc2ac28eabd892cfeae57e6b98d1c20b00f57 (diff)
`make format`
Diffstat (limited to 'src/crepe/api/Rigidbody.cpp')
-rw-r--r--src/crepe/api/Rigidbody.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crepe/api/Rigidbody.cpp b/src/crepe/api/Rigidbody.cpp
index cbf1325..3bf1c5b 100644
--- a/src/crepe/api/Rigidbody.cpp
+++ b/src/crepe/api/Rigidbody.cpp
@@ -3,7 +3,8 @@
using namespace crepe;
crepe::Rigidbody::Rigidbody(uint32_t game_object_id, const Data & data)
- : Component(game_object_id), data(data) {}
+ : Component(game_object_id),
+ data(data) {}
void crepe::Rigidbody::add_force_linear(const Vector2 & force) {
this->data.linear_velocity += force;