Janine Liu
b0f3c634df
Add BoundingCylinder as a tile bounding volume
2025-02-12 14:15:59 -05:00
Janine Liu
57c0d9d627
Remembered why we OrientedBoundingBox the first time.
2025-02-12 13:53:24 -05:00
Janine Liu
e5e323f411
Add BoundingCylinder class
2025-02-12 13:35:59 -05:00
Tim Moore
ed58d0236b
Merge remote-tracking branch 'origin/main' into vcpkg-pkg
2025-01-31 17:02:12 +01:00
Ashley Rogers
ce0ff2dabb
Add headers
2025-01-24 16:11:32 -05:00
Ashley Rogers
cbdc957cb2
Format
2025-01-24 15:43:39 -05:00
Ashley Rogers
e16c56228b
Don't crash when culling volume position is too large
2025-01-24 15:42:45 -05:00
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
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
5c3a0ed1c2
Format
2025-01-15 16:58:50 -05:00
Ashley Rogers
4e318925a5
Switch tests to doctest
2025-01-15 16:58:03 -05:00
Ashley Rogers
d4237922be
Merge from main
2025-01-14 11:03:53 -05:00
Sean Lilley
e62cfd762d
Remove GLM_FORCE_SIZE_T_LENGTH
2025-01-08 16:08:34 -05:00
Ashley Rogers
afeaa44f29
Format
2025-01-08 15:36:59 -05:00
Ashley Rogers
dac4935c02
Add UrlTemplateRasterOverlay
2025-01-08 15:08:23 -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
94cc7992aa
Misc checks
2024-12-19 14:33:52 -05:00
Ashley Rogers
9fc2400faf
Add cppcoreguidelines checks
2024-12-19 13:49:21 -05:00
Ashley Rogers
bd4f19da7f
Fix unchecked optional accesses
2024-12-18 14:21:10 -05:00
Ashley Rogers
6aa10bb592
Fix cast issues
2024-12-18 10:01:52 -05: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
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
Ashley Rogers
254e7598b8
Some async, geometry, selection docs
2024-12-10 11:26:13 -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
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
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
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
08fc808a5c
Fix shadowed variables, format
2024-11-20 17:47:43 -05: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
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
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
117b65f362
Merge branch 'shared-assets' into shared-assets-wip
2024-10-29 17:46:14 +11:00
Kevin Ring
083cb92db2
WIP refactoring.
2024-10-25 00:45:53 -04:00
Sean Lilley
91125ce4e0
Merge branch 'main' into get-up-axis-transform
2024-10-01 10:48:20 -04:00
Sean Lilley
d2f3e4fa22
Remove namespace
2024-09-27 10:26:59 -04:00
Sean Lilley
277b6569a5
Added Transforms::getUpAxisTransform
2024-09-26 14:02:20 -04:00
Kevin Ring
ef273ac266
More performant rayOBBParametric.
2024-08-29 09:42:18 +10:00
Kevin Ring
68341f6bcd
Fix an unknown bug in rayOBBParametric by rewriting it.
...
There were tests, and the old implementation passed them. I added new
tests, and it passed those, too. But some real-world height queries were
returning way too many potential tiles, and I narrowed it down to a
problem with this intersection test. When I rewrote it "the long way",
the too-many-tiles problem disappeared, and all the tests still pass.
So I'm not quite sure what was wrong with the old implementation, but
I'm committing this working one before I write more tests and optimize
it.
2024-08-28 17:56:54 +10:00
Kevin Ring
1fcdeadfd9
Merge remote-tracking branch 'origin/main' into vcpkg-swl
2024-08-02 19:45:58 +10:00
Brian L
1fa8ee45e1
Get rid of more t return params, update docs
2024-07-25 12:08:40 -06: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
523f74faf1
Optimize by normalizing a vec3 instead of a vec4
2024-07-09 13:34:25 -06:00
Brian L
7cda07f420
Remove occurrences of including <glm/mat4x4.hpp> in header files
2024-07-09 09:25:27 -06:00
Brian L
9a4073fa16
Add some missing this-> code
2024-07-08 16:03:45 -06:00
Brian L
4f47b7b0fc
update cullBackFaces doc
2024-07-08 15:35:04 -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
08cbbeab4f
Update CHANGES.md and reference doc.
2024-06-27 22:08:21 +10:00
Kevin Ring
19f832cd2b
Remove degenerate triangle test from 2D pointInTriangle.
2024-06-27 22:05:15 +10:00
Kevin Ring
22c3a59fcc
Merge pull request #902 from CesiumGS/add-zero-radii-check
...
Add check for ellipsoid radii = 0 in `IntersectionTests`
2024-06-21 16:56:29 +10:00
Kevin Ring
6175fd5596
Update CesiumGeometry/src/IntersectionTests.cpp
2024-06-21 16:41:51 +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
1f6ac44834
Merge branch 'main' into gltf-ray-intersect
2024-06-12 16:22:01 -06:00
Janine Liu
6cf5fa9b8a
Check for radii = 0
2024-06-07 10:02:45 -04:00
jiangheng90
875f50934e
update rayEllipsoid Param inverseRadii to radii
2024-06-06 14:22:26 +08:00
Kevin Ring
ca42500d54
Merge remote-tracking branch 'origin/main' into vcpkg-2
2024-06-05 14:06:47 +10:00
jiangheng90
3b73be23ca
move local variable to namespace in ray ellipsoid test
2024-06-05 11:39:09 +08:00
jiangheng90
5d52f71a48
add ray ellipsoid for intersection tests
2024-06-03 14:03:09 +08:00
Brian L
90755aff5a
Rename getPointAlongRay to pointFromDistance
2024-05-16 16:02:09 -06:00
Brian L
cd8edc2e2c
Update code documentation
2024-05-16 15:47:34 -06:00
Brian L
b765a735c9
update from main
2024-05-06 15:07:03 -06:00
Brian L
47414f09fb
Make our ASSERT macro. Move everything to use this.
2024-05-03 12:50:50 -06:00
Brian L
11d8a6daa4
Build reverse winding tests into all tests (and remove explicit tests for this)
2024-03-26 10:57:47 -06:00
Brian L
6bf2972d7c
Add performance note
2024-03-26 10:44:38 -06:00
Janine Liu
410d3eff14
Formatting
2024-03-22 10:31:42 -04:00
Janine Liu
a8e4770dc9
Add tests for degenerate triangles
2024-03-22 10:29:17 -04:00
Janine Liu
dcda68f9fc
Replace with explicit references to corner
2024-03-21 16:48:00 -04:00
Janine Liu
2a9716b18d
Reorganize unit tests and improve comments
2024-03-21 15:38:44 -04:00
Brian L
4054b57789
Fix last test duplicating previous test. Add more test comments
2024-03-21 11:18:57 -06:00
Janine Liu
201a5f3e57
Remove unused line
2024-03-21 12:16:05 -04:00
Janine Liu
edfc75a1bf
Fix if checks for clarity
2024-03-21 11:26:46 -04:00
Janine Liu
c3188ad0a7
Remove extra part of check
2024-03-21 10:20:05 -04:00
Janine Liu
be0823791a
Add extra check
2024-03-21 10:19:08 -04:00
Janine Liu
3f4248e04e
Rename function, other minor edits
2024-03-20 20:12:43 -04:00
Janine Liu
97d54ad2ac
Fix comment and update changelog
2024-03-04 15:43:38 -05:00
Janine Liu
734992a3d2
Add pointInTriangle for 3D coordinates
2024-03-01 16:30:44 -05:00
Bradley Austin Davis
24d783fb01
Migrate dependencies to vcpkg
2024-02-24 00:37:37 +00:00
Kevin Ring
c341a72806
Revert "Merge pull request #786 from jherico/feature-vcpkg"
...
This reverts commit 198ed9d4b4 , reversing
changes made to 09c1eb76b4 .
2024-02-23 09:08:15 +11:00
Ashley Rogers
10753a931f
Merge branch 'main' into feature-vcpkg
2024-02-20 13:44:11 -05:00