mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Settle a line outline's width as the whole outline, half on each side
A solid line's outline.widthPx is the outline in all, half on each side and inside the line's width, as Cesium draws it. The range ring's pulse fronts pass their halo width whole again, so they keep main's look, and the conformance check draw.lines.outline pins the width. The lines scene's outlined line keeps its 2 px edge each side and its references are re-recorded.
This commit is contained in:
1 parent
94138d9698
commit
149f8aad4d
12 files changed
+94
-16
No files matched your search
@@ -81,6 +81,10 @@ optional, so a renderer written before it still conforms:
|
||||
- A line item's `depthFail` style, solid or dashed, draws the parts behind
|
||||
the surface (the Draw tool's rubber band is dashed there too); without one
|
||||
they are hidden.
|
||||
- A solid line's `outline.widthPx` is the outline's whole width, half on
|
||||
each side, inside the line's own width: an 8 px line with a 4 px outline
|
||||
is 2 px of outline, 4 px of colour and 2 px of outline, as Cesium draws
|
||||
it. The check `draw.lines.outline` pins it.
|
||||
- A shape's `lit` chooses shading by the renderer's fixed light (true) or a
|
||||
flat colour (false); omitted, extruded shapes and boxes are lit and the
|
||||
rest flat, as before. The Cesium port lights unclamped shapes only
|
||||
|
||||
Reference in new issue
Block a user