mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Turn draped rectangles by an optional rotation, and drape image fills in the Cesium port
A rectangle shape gains an optional rotation: radians counter-clockwise, turning it about its centre in longitude and latitude, as a KML ground overlay turns; an image fill turns with it. A renderer that predates it draws the rectangle unturned. The Cesium draw port passes it as the rectangle's rotation and texture rotation, and now drapes image fills on clamped shapes, each on a ground primitive of its own that owns its material, where it refused them before. Hidden image fills are not built until they show. The stub picks draped rectangles, turned and across the antimeridian, and a conformance check picks a quarter-turned overlay on both renderers. The KML importer still draws its overlays itself.
This commit is contained in:
1 parent
7ad65b2e87
commit
6286bcfb07
9 files changed
+331
-14
No files matched your search
@@ -59,6 +59,7 @@ export const CESIUM_CHECKS = new Set([
|
||||
'draw.points.update',
|
||||
'draw.lodGroup',
|
||||
'draw.sets',
|
||||
'draw.shapes.drapedRotation',
|
||||
'effects.crossfade',
|
||||
'effects.defineStyle',
|
||||
'effects.styles',
|
||||
|
||||
Reference in new issue
Block a user