Kevin Ring
3922a7973a
Fix parseGltfCopyright (again).
2025-02-14 15:47:11 +11:00
Kevin Ring
155ee296c1
More tests for copyright parsing, and make them pass.
2025-02-14 15:44:15 +11:00
Ashley Rogers
d7cb0d5d45
Fix trailing semicolon with whitespace
2025-02-14 15:44:15 +11:00
Ashley Rogers
153f6280ee
Fix exception when parsing copyright with trailing semicolon
2025-02-14 15:44:14 +11: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
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
3832758a15
Merge from main
2024-11-21 15:48:02 -05:00
Kevin Ring
db94337b49
Merge remote-tracking branch 'origin/main' into ellipsoid-height-queries
2024-11-21 21:14:44 +11:00
Ashley Rogers
acc9e81d12
Merge from main
2024-11-20 17:12:43 -05:00
Ashley Rogers
86a4bf7e53
Fix warnings ignored on headers with SYSTEM
2024-11-19 15:47:40 -05: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
8a23ca54d9
Merge remote-tracking branch 'origin/main' into cpp20
2024-11-19 09:14:49 +11:00
Kevin Ring
651d3b4d43
Merge remote-tracking branch 'origin/main' into remove-gsl
2024-11-15 13:58:24 +11:00
Sean Lilley
f51948fbe4
Remove old CESIUM_NATIVE_ CMake variables
2024-11-13 11:22:17 -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
4c2aebedc2
Eliminate dodgy namespacing of STBIR.
2024-11-05 18:17:34 +11:00
Kevin Ring
feaf3d14f6
Switch to prerelease vcpkg commit.
...
This is necessary to pick up a new version of Async++, which is required
for use with C++20.
2024-11-05 16:00:08 +11:00
Ashley Rogers
df1f887e6d
Doc comments, rename ImageCesium
2024-10-10 15:28:05 -04:00
Kevin Ring
d9ff8acb9b
Report a warning for unsupported extensions.
2024-09-13 16:16:31 +10:00
Kevin Ring
7ecb171f44
Merge pull request #939 from dbs4261/patch-1
...
Fixed Missing Includes with Libc++18
2024-09-10 08:05:20 +10:00
Kevin Ring
642d13adf5
Tiny tweaks.
2024-09-09 13:36:55 +10:00
Kevin Ring
c6732a3d34
Merge remote-tracking branch 'origin/main' into friendly-build
2024-09-09 13:18:40 +10:00
Kevin Ring
2de6c4ab1b
Add another missing include.
2024-08-29 14:07:28 +10:00
Jason Sobotka
3b84828b54
format
2024-08-23 17:01:43 -05:00
Jason Sobotka
b2108e2b8e
Minimal changes to make cesium-native friendly to building in vcpkg manifest mode as part of another build
...
Small source changes for stricter builds:
Removed extraneous semicolons - GltfReader.cpp, ImageManipulation.cpp
size_t static cast - GltfUtilities.cpp
2024-08-23 11:31:11 -05:00
Daniel Simon
c015a9b29a
Update GltfUtilities.cpp
...
Same missing include fix in a new file
2024-08-15 11:09:30 -07:00
Kevin Ring
1fcdeadfd9
Merge remote-tracking branch 'origin/main' into vcpkg-swl
2024-08-02 19:45:58 +10:00
Kevin Ring
19486927a4
Put local functions into the anonymous namespace.
2024-07-31 17:51:23 +10:00
Brian L
621304724f
Change rayAABBParametric to return a std optional
2024-07-25 10:41:39 -06:00
Brian L
7b5382e855
let rayTriangleParametric return an optional
2024-07-24 13:47:12 -06:00
Brian L
d03181a97a
Revert changes to ForEachPrimitiveInSceneXXX callbacks
2024-07-24 13:17:22 -06:00
Brian L
3b6c5a4467
Rewrite to not rely on != 1.0 checks
2024-07-09 15:04:40 -06:00
Brian L
7f2d18b0d4
Replace assert with getSafe for index accessor
2024-07-09 14:47:42 -06:00
Brian L
2e6695de20
Update documentation and hit result cleanup
2024-07-09 13:50:39 -06:00
Brian L
888f611f45
Remove unneeded decltypes
2024-07-09 09:05:50 -06:00
Brian L
16d18a1ceb
Remove duplicate implementations of ::readFile
2024-07-08 16:12:56 -06:00
Brian L
04f17a34dc
Change some occurrences of double 1 to 1.0
2024-07-08 16:01:01 -06:00
Brian L
4f47b7b0fc
update cullBackFaces doc
2024-07-08 15:35:04 -06:00
Brian L
ca25ad4840
Change int to int32_t when specifying an ID
2024-07-08 15:15:44 -06:00
Brian L
728668a873
Merge branch 'main' into gltf-ray-intersect
2024-07-08 09:15:30 -06:00
Kevin Ring
7c9ea84178
Merge remote-tracking branch 'origin/main' into vcpkg-swl
2024-07-02 17:39:20 +10:00
Kevin Ring
ff96b9b07a
Merge pull request #874 from CesiumGS/forced-assertions
...
Add ability to force assertions
2024-06-21 16:12:56 +10:00
Brian L
74653140f3
Rename to CESIUM_ASSERT
2024-06-20 10:14:38 -06:00
Brian L
91300f9a61
update from main
2024-06-20 09:54:52 -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