Commit Graph

29 Commits

Author SHA1 Message Date
Ashley Rogers 4e318925a5 Switch tests to doctest 2025-01-15 16:58:03 -05:00
Ashley Rogers 768b6510b3 Quotes to brackets 2024-12-20 12:00:09 -05:00
Ashley Rogers 2c8aa4a422 Fix includes using script 2024-12-20 11:56:49 -05:00
Ashley Rogers 1e2e47ab5e misc-include-cleaner for every file 2024-12-17 17:27:03 -05:00
Ashley Rogers cca8871eef Include both catch2 headers 2024-11-22 11:30:45 -05:00
Ashley Rogers f82d65bead Change Catch2 header 2024-11-22 11:17:21 -05:00
Brian L 16d18a1ceb Remove duplicate implementations of ::readFile 2024-07-08 16:12:56 -06:00
Brian L 6731089edc Add intentionally invalid models, and corresponding unit tests 2024-06-13 15:09:15 -06:00
Brian L df5a3a5581 Rework result of intersect function to include warnings for malformed gltfs 2024-06-13 14:47:52 -06:00
Brian L 7c291b5ea2 Add cube translation test generated from script 2024-06-12 16:13:32 -06:00
Brian L 7b58901bf3 Add support for gltf quantized mesh extension (non-float positions) 2024-06-12 15:34:07 -06:00
Brian L cab5d1e843 Fix bug where a scaled gltf would produce incorrect hit results. Add test. 2024-05-30 10:32:41 -06:00
Brian L e3320e409e Add proper support for indexed triangle fans and enable test 2024-05-23 16:28:17 -06:00
Brian L 13185615cd Add triangle fan support and enable test 2024-05-23 15:35:29 -06:00
Brian L aedb8cc6d7 Add proper support for indexed triangle strips and enable test 2024-05-23 15:15:24 -06:00
Brian L b0a92fff59 Add proper support for triangle strips and enable test 2024-05-23 10:10:46 -06:00
Brian L dc0f4d6d2d Add non-indexed cube test and fix logic bugs 2024-05-22 21:39:22 -06:00
Brian L 7af234419d update format 2024-05-22 14:54:38 -06:00
Brian L 1c73911e54 Stub out the rest of the unit cube tests 2024-05-22 14:53:13 -06:00
Brian L 2e5ff62fc6 switch to using new unit cube test model 2024-05-22 14:49:45 -06:00
Brian L 2924edefba Add tests for intersections with model with transformation matrix 2024-05-16 16:32:21 -06:00
Brian L f13d733705 Fix bug where intersect test would hit tris behind the ray. Add more tests 2024-05-16 10:37:09 -06:00
Brian L fad02b554c Fix casting warnings 2024-05-15 16:36:12 -06:00
Brian L 39fc592974 Fix check to not generate a warning 2024-05-15 16:09:22 -06:00
Brian L 48db4d0313 Rework tests to also traverse into model using hit results 2024-05-15 15:56:33 -06:00
Brian L 54da172e29 Add more hit result info to ::intersectRayGltfModel
Still more work to do in the implementation...
2024-05-15 11:18:16 -06:00
Joseph Kaile c6bcf9736f update and comment intersection functions 2024-01-02 14:53:43 -05:00
Joseph Kaile 12d6885e42 add more intersection tests 2023-12-19 19:16:53 -05:00
Joseph Kaile ad512a3026 add gltf ray intersect function with tests 2023-12-13 17:37:10 -05:00