mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Add and remove points in place, set only what changed, and recolour material lines in place in the Cesium draw port
A set of unclamped points drawn by one point collection now takes new points and removals where it is, instead of building the collection anew; its pick ids and horizon cull follow, and the draw port's version changes only when pick ids do. A point moved or restyled in place sets only the members of its look whose values changed, and writes its position without allocating, so a set moved every frame makes nothing new. A draped line drawn by a material of its own takes a colour-only change on its material, and unmoved lines sent again compare their positions without flattening them. The shared conformance suite checks points joining and leaving a set one by one.
This commit is contained in:
1 parent
6286bcfb07
commit
d9db5199ed
4 files changed
+456
-44
No files matched your search
@@ -57,6 +57,7 @@ export const CESIUM_CHECKS = new Set([
|
||||
'draw.motion.shared',
|
||||
'draw.pick',
|
||||
'draw.points.update',
|
||||
'draw.points.population',
|
||||
'draw.lodGroup',
|
||||
'draw.sets',
|
||||
'draw.shapes.drapedRotation',
|
||||
|
||||
Reference in new issue
Block a user