summary refs log tree commit diff
path: root/src/Math/AABB.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Math/AABB.cpp')
-rw-r--r--src/Math/AABB.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Math/AABB.cpp b/src/Math/AABB.cpp
index b16960e..7f2c05d 100644
--- a/src/Math/AABB.cpp
+++ b/src/Math/AABB.cpp
@@ -29,5 +29,6 @@ AABB::CollisionResponse AABB::collision_response(Vector<3> v, AABB against) cons
     return {
         .v_to_collision = raycast.point - origin,
         .v_slide = projected_velocity,
+        .normal = raycast.normal,
     };
 }