summaryrefslogtreecommitdiffhomepage
path: root/src/raycast.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/raycast.hpp')
-rw-r--r--src/raycast.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raycast.hpp b/src/raycast.hpp
index 3871c42f..6463a143 100644
--- a/src/raycast.hpp
+++ b/src/raycast.hpp
@@ -17,6 +17,7 @@ struct raycast_result_s
{
point from, to, collision;
collision_data collider;
+ float time = 0;
bool has_result : 1 = false,
success : 1 = false;
};