1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00
Files
godot/core/math
lawnjelly b35264ad95 Fix AABB Ray intersection - return inside
* Separates find_intersects from test_intersects for rays, and wraps the former.
* Changes parameter name to "r_intersection_point".
* Fixes broken old version which returned per axis t.
* Returns whether the ray origin is within the AABB.
* Returns intersection point when origin outside.
* Returns "backtracking" intersection point when inside.
* Returns sensible normal when inside.
* Returns valid results on borders.
* Returns robust results dealing with floating point error.

Co-authored-by: Claire Blackshaw <evilkimau@gmail.com>
2024-05-09 20:41:19 +01:00
..
2022-07-25 18:21:53 +02:00
2023-05-13 16:57:19 +02:00
2023-05-10 17:45:56 -03:00
2023-01-19 13:02:18 +01:00
2023-01-19 13:02:18 +01:00
2023-01-19 13:02:18 +01:00
2024-05-03 00:58:27 +02:00