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
..
2024-04-03 22:27:33 -07:00
2024-04-03 22:27:33 -07:00
2024-04-03 22:27:33 -07:00
2024-04-03 22:27:33 -07:00
2024-04-03 22:27:33 -07:00
2024-04-03 22:27:33 -07:00
2024-05-09 20:41:19 +01:00
2024-05-09 20:41:19 +01:00
2024-02-13 15:37:09 +01:00
2024-04-16 04:26:52 -07:00
2024-04-16 04:26:52 -07:00
2024-03-29 16:44:12 -07:00
2024-03-29 16:44:12 -07:00
2022-07-25 18:21:53 +02:00
2023-09-28 20:27:51 +08:00
2024-03-29 16:44:12 -07:00
2023-09-28 20:27:51 +08:00
2024-03-07 22:39:09 -06:00
2024-03-07 22:39:09 -06:00
2023-01-05 13:25:55 +01:00
2023-05-13 16:57:19 +02:00
2023-05-10 17:45:56 -03:00
2024-04-04 14:17:22 -05:00
2023-01-05 13:25:55 +01:00
2024-03-04 18:17:10 +01:00
2024-05-02 10:31:13 +02:00
2024-03-07 22:39:09 -06:00
2023-02-01 08:45:41 +01:00
2024-03-20 13:47:42 +01:00
2024-02-14 11:20:36 -03:00
2024-03-07 22:39:09 -06:00
2023-01-19 13:02:18 +01:00
2023-01-19 13:02:18 +01:00
2024-04-20 13:37:59 +02:00
2024-03-20 13:47:42 +01:00
2024-02-28 14:25:35 +01:00
2024-03-29 16:44:12 -07:00
2023-01-05 13:25:55 +01:00
2023-01-05 13:25:55 +01:00
2023-01-05 13:25:55 +01:00
2023-01-05 13:25:55 +01:00
2024-01-02 14:14:47 +01:00
2023-06-14 14:54:00 +02:00
2023-01-15 17:18:50 +01:00
2024-04-04 14:36:57 +02:00
2024-04-04 14:36:57 +02:00
2024-03-04 18:17:10 +01:00
2024-03-04 18:17:10 +01:00
2024-05-02 10:31:13 +02:00
2023-01-05 13:25:55 +01:00
2024-02-29 13:29:53 +01:00
2024-03-02 20:56:01 -06:00
2024-03-17 19:21:16 +01:00
2024-03-07 22:39:09 -06:00
2023-01-05 13:25:55 +01:00
2024-05-02 10:31:13 +02:00
2023-01-05 13:25:55 +01:00
2024-05-02 10:31:13 +02:00
2023-01-05 13:25:55 +01:00
2024-05-08 00:40:45 +02:00
2024-03-04 18:17:10 +01:00
2024-03-04 18:17:10 +01:00
2024-03-04 18:17:10 +01:00
2024-03-04 18:17:10 +01:00
2024-03-23 12:28:36 +01:00
2024-03-23 12:28:36 +01:00
2024-05-02 10:31:13 +02:00
2023-01-19 13:02:18 +01:00
2023-01-05 13:25:55 +01:00
2023-01-05 13:25:55 +01:00
2024-05-02 10:31:13 +02:00
2024-05-02 10:31:13 +02:00
2024-05-02 10:31:13 +02:00
2024-05-02 10:31:13 +02:00
2024-05-02 10:31:13 +02:00
2024-05-02 10:31:13 +02:00
2024-05-02 10:31:13 +02:00
2024-05-02 10:31:13 +02:00
2024-05-03 00:58:27 +02:00
2024-05-03 00:58:27 +02:00
2024-05-02 10:31:13 +02:00
2024-05-02 10:31:13 +02:00