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 Fix Basis is_orthogonal and is_rotation methods, add is_orthonormal 2023-12-06 13:12:05 -06:00
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 Fix some uses of float and real_t in core/math 2024-03-29 16:44:12 -07:00
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 Add is_conformal method to Basis and Transform2D 2023-09-13 17:20:30 -05:00
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 Implement Vector2i/3i/4i methods: distance_to and distance_squared_to 2023-10-12 13:46:49 +02:00
test_vector3.h
test_vector3i.h Implement Vector2i/3i/4i methods: distance_to and distance_squared_to 2023-10-12 13:46:49 +02:00
test_vector4.h
test_vector4i.h Implement Vector2i/3i/4i methods: distance_to and distance_squared_to 2023-10-12 13:46:49 +02:00