virtualx-engine/tests/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
..
test_aabb.h Fix AABB Ray intersection - return inside 2024-05-09 20:41:19 +01:00
test_astar.h
test_basis.h
test_color.h
test_expression.h
test_geometry_2d.h Replace Clipper1 library by Clipper2 library 2024-04-20 13:37:59 +02:00
test_geometry_3d.h
test_math_funcs.h Style: Trim trailing whitespace and ensure newline at EOF 2024-05-08 10:12:46 +02:00
test_plane.h
test_quaternion.h
test_random_number_generator.h
test_rect2.h
test_rect2i.h
test_transform_2d.h
test_transform_3d.h Add rotation unit tests for Transform3D 2024-04-10 22:27:14 +02:00
test_vector2.h Add unit test for Vector2 plane_project 2024-04-05 21:57:01 +03:00
test_vector2i.h
test_vector3.h
test_vector3i.h
test_vector4.h
test_vector4i.h