aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Rigidbody.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-02 13:33:19 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-02 13:33:19 +0100
commit0a867effdb02e35181ee31c36960aed05e19ac64 (patch)
tree9b0a057cd1cfe9fbb1cee1a582ef3509b9d059b2 /src/crepe/api/Rigidbody.cpp
parent515efdd82326e91596895a5e9b2bbf4925f175a1 (diff)
feedback fix
Diffstat (limited to 'src/crepe/api/Rigidbody.cpp')
-rw-r--r--src/crepe/api/Rigidbody.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/api/Rigidbody.cpp b/src/crepe/api/Rigidbody.cpp
index 576ca45..c4b1d6f 100644
--- a/src/crepe/api/Rigidbody.cpp
+++ b/src/crepe/api/Rigidbody.cpp
@@ -10,6 +10,6 @@ void crepe::Rigidbody::add_force_linear(const vec2 & force) {
this->data.linear_velocity += force;
}
-void crepe::Rigidbody::add_force_angular(double force) {
+void crepe::Rigidbody::add_force_angular(float force) {
this->data.angular_velocity += force;
}