mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +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
@@ -315,6 +315,8 @@ test('heights raise a polygon off the ground and stand a point’s pin on its ti
|
||||
const fill = env.fake.set('raised').items.get('p');
|
||||
assert.equal(fill.height, 'absolute');
|
||||
assert.equal(fill.geometry.perPositionHeight, true);
|
||||
// Lit by the sun, as the loader's entities drew a raised polygon.
|
||||
assert.equal(fill.lit, true);
|
||||
assert.equal(fill.geometry.rings[0][0].height, 100);
|
||||
assert.deepEqual(fill.outline, [0, 136 / 255, 1, 1]);
|
||||
const pin = env.fake.set('pins').items.get('pt');
|
||||
|
||||
Reference in new issue
Block a user