Commit Graph

208 Commits

Author SHA1 Message Date
Kevin Ring 2a15f06454 Merge remote-tracking branch 'origin/main' into fix-macos-tests 2025-01-24 10:47:02 +11:00
Sean Lilley 7948a1b422 Fix clang-tidy errors 2025-01-21 16:52:51 -05:00
Sean Lilley d17552d556 Merge branch 'main' into remove-GLM_FORCE_SIZE_T_LENGTH 2025-01-21 16:34:43 -05:00
Kevin Ring fc8f124487 macOS fixes, especially to losslessNarrow. 2025-01-21 17:34:10 +11:00
Kevin Ring c48485e729 Formatting. 2025-01-17 18:33:29 +11:00
Kevin Ring 5294d16999 Don't use std::ranges.
Because it's not supported in Android NDK r25b.
2025-01-17 18:31:29 +11:00
Kevin Ring 3890b79e71 Fix various build problems and merge conflicts. 2025-01-17 13:42:52 +11:00
Kevin Ring 017d13393c
Merge pull request #1064 from CesiumGS/doctest
Use doctest instead of Catch2 for tests
2025-01-17 09:52:00 +11:00
Sean Lilley ef27547b19
Merge branch 'main' into remove-GLM_FORCE_SIZE_T_LENGTH 2025-01-16 15:33:49 -05:00
Ashley Rogers 4e318925a5 Switch tests to doctest 2025-01-15 16:58:03 -05:00
Tim Moore cc0be3e5e2 Respond to code review feedback 2025-01-15 18:14:23 +01:00
Kevin Ring 535b2e4bbf Put BatchIdSemantic in the anonymous namespace. 2025-01-14 16:27:41 +11:00
Kevin Ring e73e4cb057 More clang-tidy fixes. 2025-01-14 14:53:26 +11:00
Kevin Ring b75d803aea Fix clang-tidy errors. 2025-01-14 14:34:13 +11:00
Kevin Ring 05b5fbd065 Formatting. 2025-01-14 13:55:08 +11:00
Kevin Ring 49bf4169a1 Merge remote-tracking branch 'origin/main' into i3dm-metadata 2025-01-14 13:33:10 +11:00
Kevin Ring 59f01eb340 Fix clang-tidy errors. 2025-01-13 19:30:35 +11:00
Kevin Ring d907086901 Fix dodgy formatting of null string values. 2025-01-13 18:24:53 +11:00
Kevin Ring 028ee29eed Merge remote-tracking branch 'origin/main' into clang-tidy-cleanup 2025-01-13 17:30:09 +11:00
Sean Lilley e62cfd762d Remove GLM_FORCE_SIZE_T_LENGTH 2025-01-08 16:08:34 -05:00
Ashley Rogers 1db43366cd Resolve review items 2025-01-06 14:48:49 -05:00
Tim Moore 5a7693ce8d Fix some low-hanging fruit reported by clang-tidy 2025-01-02 11:51:30 +01:00
Tim Moore 8952f1161b Unit test for I3dm batchtable conversion 2025-01-01 19:02:31 +01:00
Tim Moore 8307973d87 I3dm batch table conversion 2025-01-01 19:02:31 +01:00
Tim Moore 3258928ea3 Refactor MetadataProperty into its own files
This class in PntsToGltfConverter.cpp is useful for dealing with
instance metadata too.
2025-01-01 19:02:31 +01:00
Tim Moore b7ee618972 Refactor instantiateGltfInstances in I3dm converter
The major refactor is to split the very rare case of
EXT_mesh_gpu_instancing extension in the I3dm glTF into another
function, and then reduce code duplication.
2025-01-01 19:02:30 +01:00
Kevin Ring 65b088de53 Merge remote-tracking branch 'origin/main' into i3dm-rotation-fix 2024-12-24 14:25:28 +11:00
Ashley Rogers 1b7b8ce29e Fix review issues 2024-12-20 16:32:24 -05:00
Ashley Rogers 869a43267c Undo trivially constructable std::move removals 2024-12-20 15:30:31 -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 2c992b7ba7 Performance checks 2024-12-19 15:27:53 -05:00
Ashley Rogers f7d287dd80 Modernize checks 2024-12-19 15:20:19 -05:00
Ashley Rogers 9fc2400faf Add cppcoreguidelines checks 2024-12-19 13:49:21 -05:00
Ashley Rogers 4aeee635ca More checks 2024-12-18 15:25:51 -05:00
Ashley Rogers bd4f19da7f Fix unchecked optional accesses 2024-12-18 14:21:10 -05:00
Ashley Rogers 1e2e47ab5e misc-include-cleaner for every file 2024-12-17 17:27:03 -05:00
Ashley Rogers 89b00e2cc0 Fix warnings from merge with main 2024-12-17 13:43:45 -05:00
Tim Moore 472687021e Calculate I3dm instance rotations by converting basis to a matrix
The previous approach tried to create rotations directly from the up
and right vectors that encode the instance rotation, but it naïvely
didn't handle rotations of 180 degrees of the up and right vector. It
is reliable to create the rotation matrix, filling in the Z column
by doing a cross-product, and then let the algorithm for converting a
rotation matrix to a quaternion do its robust thing.
2024-12-16 11:27:59 +01:00
Kevin Ring 96e1d01844 Merge remote-tracking branch 'origin/main' into update-readme 2024-12-12 11:43:55 +11:00
Ashley Rogers 4d82403b80 Pan-zoom, add dependencies page. 2024-12-06 18:21:57 -05:00
Janine Liu c32d3f4c04 Remove unnecessary lines, add additional test case 2024-12-06 17:30:59 -05:00
Janine Liu 192c2cb60b Allow subtree files without binary chunks to be parsed 2024-12-06 17:14:45 -05:00
Janine Liu 30c1f4c6ae Refactor createSubtreeContent 2024-12-06 16:40:50 -05:00
Janine Liu 4e15477ad8 Rewrite subtree creator in TestSubtreeAvailability 2024-12-06 15:53:13 -05:00
Janine Liu 4bd29dc7ef Add missing @params 2024-12-04 15:53:04 -05:00
Ashley Rogers bb365c8aee Dependency graph generation 2024-12-04 14:39:16 -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 35bf88745e Revert unnecessary cast changes 2024-11-22 11:04:17 -05:00