Commit Graph

57 Commits

Author SHA1 Message Date
Kevin Ring 49d97c126e More tests for copyright parsing, and make them pass. 2025-02-10 09:49:17 +11:00
Ashley Rogers 80b0a4e041 Fix trailing semicolon with whitespace 2025-02-07 18:53:58 -05:00
Ashley Rogers c75dc53881 Fix exception when parsing copyright with trailing semicolon 2025-02-07 18:36:14 -05:00
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
Ashley Rogers df1f887e6d Doc comments, rename ImageCesium 2024-10-10 15:28:05 -04: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 1f6ac44834 Merge branch 'main' into gltf-ray-intersect 2024-06-12 16:22:01 -06:00
Brian L 7c291b5ea2 Add cube translation test generated from script 2024-06-12 16:13:32 -06:00
Brian L 7bdd2104a5 Change index component types for more unit test coverage 2024-06-12 16:06:29 -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 2fd0b3a2c7 Add quantized cube test data 2024-06-12 10:44:17 -06:00
Brian L aa95514762 update from main 2024-05-31 12:39:37 -06:00
Sean Lilley fe64db3c94 Added removeUnusedMeshes and removeUnusedMaterials 2024-05-30 13:54:47 -04: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 7ea3f2ec65 Add indexed triangle fan test cube 2024-05-23 16:09:35 -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 331cd18993 Add indexed triangle strip test cube 2024-05-23 15:13:15 -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 938e5cd6cc Remove unnecessary test asset 2024-05-22 14:53:22 -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 c5ebb81fb0 Add cube fan example and generation script 2024-05-22 14:08:20 -06:00
Sean Lilley 4b3148a562 Added removeUnusedBuffers 2024-05-21 21:14:32 -04:00
Brian L 018c7640eb Remove unneeded test files 2024-05-21 17:22:48 -06:00
Brian L 25331a91c9 Add cube with triangle strip test 2024-05-21 17:22:38 -06:00
Brian L a0b49cefbe Explicitly declare triangle mode 2024-05-21 16:20:12 -06:00
Brian L bef7cbfc78 update test generation scripts 2024-05-21 16:01:47 -06:00
Kevin Ring 206c1c8195 Add test for `compactBuffers` with meshopt bufferviews. 2024-05-21 21:43:13 +10:00
Kevin Ring 2f9cf0ad0d Add tests for GltfUtilities::collapseToSingleBuffer. 2024-05-21 21:35:04 +10:00
Brian L bc8a918058 Add some test glbs
Also add the source python that created them
2024-05-17 16:06:05 -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
Brian L b765a735c9 update from main 2024-05-06 15:07:03 -06:00
Kevin Ring feec23050d Fix GCC / Clang warning. 2024-05-03 22:52:10 +10:00
Kevin Ring 220b5b7adf 8-byte alignment for moveBuffers, too.
Also allow removal of any number of bytes from the end of the buffer.
2024-05-03 22:46:47 +10:00