Ashley Rogers
f573e49ad5
Fix remaining non-CesiumGltf warnings
2024-11-20 16:51:44 -05:00
Janine Liu
7eaef98067
Merge branch 'main' into raster-overlay-ellipsoids
2024-11-20 16:36:22 -05:00
Ashley Rogers
52633c67f4
Non-PropertyTable changes
2024-11-20 16:20:04 -05:00
Janine Liu
c677c85fbc
Merge pull request #977 from CesiumGS/remove-gsl
...
Remove use of the GSL library
2024-11-20 15:36:50 -05:00
Kevin Ring
3168f9eef1
Rename ITilesetHeightQuery to ITilesetHeightSampler.
2024-11-21 07:19:43 +11:00
Kevin Ring
970ab24146
Update CHANGES.md.
2024-11-21 07:04:54 +11:00
Janine Liu
0613c02849
Merge pull request #1002 from CesiumGS/fix-variable-shadowing
...
Eliminate variable shadowing in JsonValue
2024-11-20 14:10:06 -05:00
Janine Liu
70492de06f
Merge branch 'main' into remove-gsl
2024-11-20 13:46:51 -05:00
Janine Liu
73801b5d96
Merge pull request #976 from CesiumGS/cpp20
...
Switch to C++20
2024-11-20 13:41:34 -05:00
Janine Liu
49bcfa4d03
Use vcpkg 2024.11.16
2024-11-20 11:26:05 -05:00
Sean Lilley
485f36917d
Rename hasWritableExtensions to hasRegisteredExtensions
2024-11-20 10:38:45 -05:00
Kevin Ring
2ba26683e6
Merge remote-tracking branch 'origin/fix-variable-shadowing' into raster-overlay-ellipsoids
2024-11-20 21:20:16 +11:00
Kevin Ring
4f9c917bee
Fix variable shadowing in JsonValue.
...
Clang gets upset about this in the cesium-unreal build.
2024-11-20 21:14:24 +11:00
Kevin Ring
7b731787da
Fix some raster overlay ellipsoid bugs.
2024-11-20 21:04:40 +11:00
Kevin Ring
4e080a0207
Merge remote-tracking branch 'origin/main' into quadtree-cache-fix-2
2024-11-20 12:52:28 +11:00
Kevin Ring
e1e0cf9574
Merge remote-tracking branch 'origin/cpp20' into remove-gsl
2024-11-20 12:46:36 +11:00
Ashley Rogers
eca66b987d
Enable checks
2024-11-19 17:10:26 -05:00
Ashley Rogers
3ecb6f5895
Remove unnecessary OSX check
2024-11-19 17:06:55 -05:00
Ashley Rogers
ef88c7b9cd
Split linting step from format step
2024-11-19 16:58:52 -05:00
Ashley Rogers
4735308f3f
Add apt repository for clang-18
2024-11-19 15:59:07 -05:00
Ashley Rogers
5fb892e935
Add clang-tidy CI action
2024-11-19 15:57:45 -05:00
Ashley Rogers
86a4bf7e53
Fix warnings ignored on headers with SYSTEM
2024-11-19 15:47:40 -05:00
Ashley Rogers
beee019e19
Add clang-tidy to CMake
2024-11-19 15:27:39 -05:00
Janine Liu
3ac1b023cf
Update changelog
2024-11-19 15:14:47 -05:00
Ashley Rogers
c2f1c352d9
Improve VCPKG_TRIPLET detection on WSL
2024-11-19 15:11:52 -05:00
Janine Liu
5345313add
Check for nullptr credit system
2024-11-19 14:57:58 -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
Sean Lilley
36455e6c55
Updates to code generator
2024-11-19 14:32:55 -05:00
Janine Liu
cb76336a82
Update for macos15
2024-11-19 09:20:25 -05:00
Janine Liu
25879d5378
Merge branch 'main' into cpp20
2024-11-19 09:18:40 -05:00
Janine Liu
e0770638f9
Merge pull request #999 from CesiumGS/class-to-struct
...
Schema is a struct not a class.
2024-11-19 09:14:43 -05:00
Janine Liu
b4badfbea5
Merge pull request #988 from CesiumGS/cesium.com
...
Generate reference documentation from the cesium.com branch and publish it to the web site
2024-11-19 09:10:09 -05:00
Kevin Ring
861dc820ca
Update CHANGES.md.
2024-11-19 21:52:33 +11:00
Kevin Ring
34cff71426
Add ITilesetHeightQuery.
2024-11-19 21:47:50 +11:00
Kevin Ring
5e5c4b1911
Add test for height queries against EllipsoidTilesetLoader.
2024-11-19 20:52:05 +11:00
Kevin Ring
4941f7507f
Don't crash when intersecting primitives without accessor min/max.
...
The min and max properties of a glTF accessor are optional. But
`intersectRayScenePrimitive` in `GltfUtilities` was assuming the
primitive's position accessor had them, and it would crash if they did
not.
2024-11-19 20:49:56 +11:00
Kevin Ring
f11a8d8002
Tighten tolerance for rayTriangleParametric.
...
IntersectionTests::rayTriangleParametric was returning "no intersection"
when `det < Math::Epsilon6`. This was causing it to miss intersections
in very small tiles. So I changed it to `Epsilon8`.
2024-11-19 20:47:54 +11:00
Kevin Ring
a6e2c8b05f
Eliminate block of useless indices from EllipsoidTilesetLoader.
...
EllipsoidTilesetLoader was passing a size to the constructor for the
std::vector used to store the indices, and then it was also adding the
indices by calling `insert`. That resulted in a giant block of useless
(0,0,0) indices, followed by the useful ones created by the insert.
This change uses `reserve` instead of passing a size to the constructor.
2024-11-19 20:45:27 +11:00
Kevin Ring
e56c5d776c
Don't create tiles past level 30, because it won't work.
...
EllipsoidTilesetLoader can conceptually create tiles of any level. But
because we use a uint32_t for the tile X and Y coordinates, and because
tile level 31 has 2*2^31=2^32 tiles, we end up overflowing the uint32_t
and producing nonsense tile coordinates. So this change prevents the
loader from creating tiles past level 30.
2024-11-19 20:43:11 +11:00
Kevin Ring
fd22a9c80f
Merge remote-tracking branch 'origin/main' into class-to-struct
2024-11-19 19:16:56 +11:00
Kevin Ring
15ab56a1d8
Merge remote-tracking branch 'origin/main' into quadtree-cache-fix-2
2024-11-19 18:47:12 +11:00
Kevin Ring
5827ce914f
Merge remote-tracking branch 'origin/cpp20' into remove-gsl
2024-11-19 18:45:54 +11:00
Kevin Ring
804abc952f
Merge remote-tracking branch 'origin/main' into cpp20
2024-11-19 18:45:24 +11:00
Kevin Ring
90470470f6
Merge pull request #998 from CesiumGS/macos-15
...
Run build on macos-15 instead of macos-12.
2024-11-19 17:23:52 +11:00
Kevin Ring
dfaf78e0d4
Schema is a struct not a class.
2024-11-19 17:23:25 +11:00
Kevin Ring
b9667ff0d7
Build for x64 instead of arm64 on macOS.
...
To work around strange test failure.
2024-11-19 16:30:05 +11:00
Kevin Ring
36a1145ede
Set extra cmake options on macOS.
2024-11-19 13:07:54 +11:00
Kevin Ring
f9360b8c77
Run build on macos-15 instead of macos-12.
...
The latter is not longer supported by GitHub Actions.
2024-11-19 12:27:18 +11:00
Kevin Ring
fb24a2efe1
Merge remote-tracking branch 'origin/cpp20' into remove-gsl
2024-11-19 09:15:21 +11:00