mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 00:32:21 +00:00
Raised GeoJSON and cable polygons are lit by the sun again
The loader's entities drew a polygon with per-position heights through a lit appearance; through the draw port it went flat. Local GeoJSON and submarine cable fills with heights pass lit: true, as file import does.
This commit is contained in:
1 parent
af3383a5a9
commit
ea3b87805a
4 files changed
+7
No files matched your search
@@ -1272,6 +1272,7 @@ test('polygons and reference-less features draw as the GeoJSON loader drew them'
|
||||
// Heights keep a polygon off the ground, outlined in its stroke.
|
||||
assert.equal(fills[3].height, 'absolute');
|
||||
assert.equal(fills[3].geometry.perPositionHeight, true);
|
||||
assert.equal(fills[3].lit, true);
|
||||
assert.deepEqual(fills[3].outline, [0, 0, 1, 1]);
|
||||
assert.equal(fills[3].geometry.rings[0].length, 5);
|
||||
// A feature with no reference still draws, unpicked and with no reference.
|
||||
|
||||
Reference in new issue
Block a user