Commit Graph

790 Commits

Author SHA1 Message Date
Ashley Rogers e0a0750954 Merge branch 'main' of github.com:CesiumGS/cesium-native into enum-metadata-support-2 2025-02-20 15:18:21 -05:00
Tim Moore e221a72631 Merge remote-tracking branch 'origin/main' into vcpkg-pkg 2025-02-13 14:58:27 +01:00
Ashley Rogers 71fc940aed Add PropertyView::enumDefinition 2025-02-12 15:55:07 -05:00
Ashley Rogers 8dc24f633e Fix 'not all code paths return a value' with normalized texture view 2025-02-12 15:16:58 -05:00
Ashley Rogers b86186b277 PropertyView::propertyType 2025-02-12 14:21:13 -05:00
Ashley Rogers 8c1903be77 Remove TypeToPropertyType 2025-02-12 12:03:49 -05:00
Ashley Rogers 39f6e183b4 Enum.getName 2025-02-11 17:20:39 -05:00
Ashley Rogers b4032392a2 Enum metadata support using scalars instead of PropertyEnumValue 2025-02-11 14:44:04 -05:00
Janine Liu 8ebacf9f6e Generate EXT_primitive_voxels and related classes 2025-02-07 16:53:34 -05:00
Sean Lilley 3ecc79d07f Merge branch 'main' into parent-class 2025-02-05 12:09:13 -05:00
Sean Lilley d4348b2c8b Fix lint 2025-01-31 16:57:18 -05:00
Sean Lilley 82f5c70e65 Add convertPropertyComponentTypeToAccessorComponentType 2025-01-31 16:26:48 -05:00
Sean Lilley f62ce9a58a Add support for more component types in PropertyType 2025-01-31 16:26:41 -05:00
Tim Moore ed58d0236b Merge remote-tracking branch 'origin/main' into vcpkg-pkg 2025-01-31 17:02:12 +01:00
Sean Lilley 0ba99e3268 Add parent property to CesiumGltf::Class 2025-01-30 11:56:00 -05:00
Kevin Ring 127ca8ac9d
Merge pull request #1079 from CesiumGS/tileset-utilities
Add helper functions to Cesium3DTiles::Tileset
2025-01-28 17:12:44 +11:00
Sean Lilley ab26363bd7 Add helper functions to Tileset 2025-01-22 18:42:24 -05:00
Kevin Ring fc8f124487 macOS fixes, especially to losslessNarrow. 2025-01-21 17:34:10 +11:00
Ashley Rogers 688593066e More include fixes 2025-01-15 17:52:40 -05:00
Ashley Rogers 05c9102188 Add includes for MSVC error 2025-01-15 17:47:04 -05:00
Ashley Rogers 4e318925a5 Switch tests to doctest 2025-01-15 16:58:03 -05:00
Kevin Ring 028ee29eed Merge remote-tracking branch 'origin/main' into clang-tidy-cleanup 2025-01-13 17:30:09 +11: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 f7d287dd80 Modernize checks 2024-12-19 15:20:19 -05:00
Ashley Rogers 94cc7992aa Misc checks 2024-12-19 14:33:52 -05:00
Ashley Rogers 6aa10bb592 Fix cast issues 2024-12-18 10:01:52 -05:00
Kevin Ring 4fb3063022 Remove unused types, and fix doc/code mismatch. 2024-12-18 19:46:18 +11:00
Kevin Ring 0c295d610b Better doc for enums where possible. 2024-12-18 16:04:28 +11:00
Ashley Rogers 7ef48d56c7 Fix additional clang-tidy issues 2024-12-17 17:41:42 -05:00
Ashley Rogers 77094edb1f Format 2024-12-17 17:27:27 -05:00
Ashley Rogers 1e2e47ab5e misc-include-cleaner for every file 2024-12-17 17:27:03 -05:00
Ashley Rogers 2ce337be44 Merge from main 2024-12-17 11:36:54 -05:00
Ashley Rogers f934b40717 All warnings resolved 2024-12-17 11:30:58 -05:00
Kevin Ring 4e6e2b8300
Merge pull request #1024 from CesiumGS/update-readme
Overhaul README
2024-12-17 10:36:08 +11:00
Ashley Rogers c580d5def6 Fix even more warnings 2024-12-13 15:13:59 -05:00
Ashley Rogers 39e7037927 Enum value 'descriptions' for generated code 2024-12-13 11:20:02 -05:00
Kevin Ring 394ccef4e3
Merge branch 'main' into update-ext-structural-metadata 2024-12-12 14:15:42 +11:00
Kevin Ring 96e1d01844 Merge remote-tracking branch 'origin/main' into update-readme 2024-12-12 11:43:55 +11:00
Ashley Rogers 10b3464fbf Merge from update-ext-structural-metadata 2024-12-11 15:38:52 -05:00
Ashley Rogers f91818e039 Even more documentation 2024-12-11 15:33:30 -05:00
Kevin Ring 5ab3baa56d
Merge branch 'main' into more-attribute-semantics 2024-12-11 10:27:42 +11:00
Ashley Rogers 1b6984d2e9 Additional documentation 2024-12-10 17:41:53 -05:00
Ashley Rogers d98f4b9cd7 Lots of additional docs 2024-12-10 15:39:12 -05:00
Sean Lilley 03f2a1a086 Add more attribute semantics 2024-12-09 18:34:52 -05:00
Sean Lilley f1ae8bd16c Update generated classes for EXT_structural_metadata 2024-12-09 18:29:20 -05:00
Sean Lilley baea66127b Add getters for AccessorView and AccessorWriter 2024-12-09 18:15:17 -05:00
Ashley Rogers 4d82403b80 Pan-zoom, add dependencies page. 2024-12-06 18:21:57 -05:00
Tim Moore d1b064d8fd Don't add public headers to public target sources
The intent is for public target sources to be compiled into consumers
of a target, but that is a no-op for header files. Including the
public headers, which have paths pointing inside the project, causes
an error when generating an export set.
2024-12-05 16:03:52 +01:00
Tim Moore 7d5f2e1748 Choose BUILD_INTERFACE or INSTALL_INTERFACE in include directories
Should be a no-op at this point, but will be required when we make
Cesium Native installable.
2024-12-05 16:03:12 +01:00
Ashley Rogers bb365c8aee Dependency graph generation 2024-12-04 14:39:16 -05:00
Kevin Ring 24a2bdca2b
Merge pull request #1008 from CesiumGS/fix-gcc13
Fix compiler error on GCC 13
2024-12-02 07:16:58 +11:00
Kevin Ring 1a7bbbd6c9 Report AccessorView as invalid when BufferView byteStride is negative. 2024-12-01 17:22:05 +11:00
Ashley Rogers 573469f6f9 Format 2024-11-26 14:28:52 -05:00
Ashley Rogers 08dcb82f9e Document undocumented parameters 2024-11-26 14:27:37 -05:00
Ashley Rogers fdabe39f6e Fix some Doxygen warnings 2024-11-26 14:14:58 -05:00
Sean Lilley 472669a06d Ignore in clang 2024-11-26 09:56:15 -05:00
Sean Lilley 859e1617e1 Fix formatting 2024-11-26 09:47:40 -05:00
Sean Lilley 428483d57c Ignore maybe-unitialized in test files 2024-11-26 09:44:51 -05:00
Ashley Rogers fde31cf262 Merge branch 'main' of github.com:CesiumGS/cesium-native into clang-tidy-4 2024-11-25 14:20:56 -05:00
Kevin Ring dce56afd86 Give a more specific name to the TEST_CASE. 2024-11-25 18:21:58 +11:00
Kevin Ring df79aa055f Fix compiler error on GCC 13. 2024-11-25 14:51:03 +11:00
Sean Lilley d1ccc7a10f Add equality operator for JsonValue 2024-11-22 15:47:08 -05:00
Ashley Rogers 2dd41959e8 Format... again 2024-11-22 11:35:06 -05:00
Ashley Rogers cca8871eef Include both catch2 headers 2024-11-22 11:30:45 -05:00
Ashley Rogers 9b46d6f93e Format 2024-11-22 11:19:22 -05:00
Ashley Rogers f82d65bead Change Catch2 header 2024-11-22 11:17:21 -05:00
Ashley Rogers cedc1bbd05 Ubuntu 24.04 for clang-tidy CI, cast fix 2024-11-22 11:12:32 -05:00
Ashley Rogers acc9e81d12 Merge from main 2024-11-20 17:12:43 -05:00
Ashley Rogers f573e49ad5 Fix remaining non-CesiumGltf warnings 2024-11-20 16:51:44 -05:00
Ashley Rogers 52633c67f4 Non-PropertyTable changes 2024-11-20 16:20:04 -05:00
Ashley Rogers 86a4bf7e53 Fix warnings ignored on headers with SYSTEM 2024-11-19 15:47:40 -05:00
Ashley Rogers 2dbd86e5c3 Merge branch 'cpp20' of github.com:CesiumGS/cesium-native into clang-tidy-4 2024-11-19 14:39:38 -05:00
Ashley Rogers 17c1887164 Regenerate classes 2024-11-19 14:39:18 -05:00
Kevin Ring fb24a2efe1 Merge remote-tracking branch 'origin/cpp20' into remove-gsl 2024-11-19 09:15:21 +11:00
Kevin Ring 8a23ca54d9 Merge remote-tracking branch 'origin/main' into cpp20 2024-11-19 09:14:49 +11:00
Kevin Ring 1f092764fe Add int casts in generated code to placate clang/gcc. 2024-11-17 14:16:42 +11:00
Ashley Rogers 67044b3e2e Merge from main 2024-11-15 15:46:44 -05:00
Ashley Rogers aa11cca7e5 Fix generate-3d-tiles and generate-quantized-mesh-terrain 2024-11-15 15:41:48 -05:00
Kevin Ring 651d3b4d43 Merge remote-tracking branch 'origin/main' into remove-gsl 2024-11-15 13:58:24 +11:00
Ashley Rogers 7fd9590e95 Update doc comments, add 'const' to foreach 2024-11-14 15:39:23 -05:00
Sean Lilley f51948fbe4 Remove old CESIUM_NATIVE_ CMake variables 2024-11-13 11:22:17 -05:00
Kevin Ring bc9165659f Merge remote-tracking branch 'origin/cpp20' into remove-gsl 2024-11-12 15:07:50 +11:00
Kevin Ring 73da501e8c Merge remote-tracking branch 'origin/main' into cpp20 2024-11-12 15:06:45 +11:00
Ashley Rogers 381888148b Update getSizeBytes generation 2024-11-11 15:54:55 -05:00
Ashley Rogers 03da4c4560 Improve glTF getSizeBytes generated code 2024-11-07 15:33:48 -05:00
Janine Liu 5071400ac8 Formatting 2024-11-06 10:46:33 -05:00
Janine Liu a8c25c029d Add default constructor to ImageAsset 2024-11-06 10:45:30 -05:00
Kevin Ring 89dfc44bdc Remove use of GSL.
Change gsl::span to std::span, and replace the few uses of gsl::narrow
with an alternative.
2024-11-06 15:16:03 +11:00
Kevin Ring 6d562824d7
Merge branch 'main' into additional-component-types 2024-11-05 20:26:55 +11:00
Kevin Ring 97331792d3 Compile with C++20 and fix the problems. 2024-11-05 16:54:11 +11:00
Ashley Rogers cfbee560b5 Bring in line with SharedAsset changes 2024-11-01 11:50:09 -04:00
Ashley Rogers d976ec13c6 Merge from main, still needs to be fixed 2024-11-01 10:49:26 -04:00
Kevin Ring 9dfe894056 ImageDecoder cleanup. 2024-10-30 13:15:03 +11:00
Kevin Ring e3c3daf6c3 Move SharedAsset to CesiumUtility.
This avoids adding a new dependency on CesiumAsync to CesiumGltf.
2024-10-30 12:49:07 +11:00
Kevin Ring e216b54a4a More small tweaks. 2024-10-30 12:14:33 +11:00
Kevin Ring 33d4948634 Image::pCesium -> pAsset 2024-10-30 09:40:04 +11:00
Kevin Ring c5533b7ead Cleanup. 2024-10-28 20:55:29 +11:00
Ashley Rogers 76185746d7 Add test for external structural metadata 2024-10-22 14:43:38 -04:00
Ashley Rogers 714aa28c28 SharedAsset support in gltf generated code 2024-10-22 11:42:09 -04:00