Files
vectorcraft/crates
dotCooCoo f681284dfb 3D: art at NaN or infinite opacity casts no shadow
Extrude & Bevel, Inflate and Rotate decided whether a fill, stroke or
member casts part of the shadow with `opacity > 0.0` and skipped it with
`opacity <= 0.0`. A NaN opacity failed both tests, so the part was
neither cast nor skipped: the shadow cast from the solids drawn added its
faces with a NaN ink, giving the shadow fill a NaN opacity, and the
shadow built for itself recorded an empty part.

Both paths now use one rule, `shadow::Ink::casts`: art casts only when
its opacity is a finite number above zero. NaN and infinite opacity cast
nothing, as 0 % does, and the art beside it still casts. Finite opacity
casts as before.
2026-11-14 16:40:34 -08:00
..
…