diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-07 15:46:29 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-07 15:46:29 +0100 |
commit | 3f4be8dd73792b8937cdba4934b8938be163ac7a (patch) | |
tree | 96e630e03859e19f4c0aea90ca3ee8b56bd353a0 /src/crepe/system | |
parent | 2b3f4ae6abcd88d89b0f6d0db8023b26ac3e9150 (diff) |
restored file
Diffstat (limited to 'src/crepe/system')
-rw-r--r-- | src/crepe/system/CollisionSystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/system/CollisionSystem.cpp b/src/crepe/system/CollisionSystem.cpp index 952ed0a..44a0431 100644 --- a/src/crepe/system/CollisionSystem.cpp +++ b/src/crepe/system/CollisionSystem.cpp @@ -290,7 +290,7 @@ vec2 CollisionSystem::get_circle_box_resolution(const CircleCollider & circle_co // Compute penetration depth float penetration_depth = circle_collider.radius - distance; - + // Compute the resolution vector vec2 resolution = collision_normal * penetration_depth; |