diff options
| author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-12 18:49:50 +0100 |
|---|---|---|
| committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-12 18:49:50 +0100 |
| commit | 927aab8cf424d1f3bf25056ce4b4126ce9f4edab (patch) | |
| tree | 8be3ac808952fea6109565a769058d4e89c37832 /src | |
| parent | 78642c3b9465d97c48f891bc669edb59ffd8da29 (diff) | |
reverted
Diffstat (limited to 'src')
| -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; |