Skip to content

arrowsToDrawables

arrowsToDrawables(l, bake?): DrawableVector[]

Defined in: core/instanced-vector.ts:226

Instanced whole arrows (#542) → one filled outline per arrow: shaft + head as ONE closed polygon (traceArrowOutline, the GPU strip’s twin, each edge ONE cubic), so a translucent arrow blends once. bake mirrors the Scene twin’s screen-sizeMode trick: solve in pixel space (×k) and emit ÷k, so the world-coordinate output reproduces the constant-pixel GPU render under the view’s ×k transform. The end offsets (#509) are in size units, so they add unscaled in the solve space: px at bake = k (screen), world units at bake = 1 (world).

InstancedArrowsData

number = 1

DrawableVector[]