Skip to main content

Module lit

Module lit 

Source
Expand description

Lit: what of a drawn part a set of elements lights — the faces, edges, vertices, solids, sketches and datums a viewer draws lit for the highlights of a crate::editing::Presentation, or for what an answer or an item of the structure points at — and Lighting, what of the part drawn and of each part placed in it is lit. The editor sends the lighting (crate::editor::Update::lit); a front end only draws it, so that every front end lights the same things.

Structs§

Lit
What a set of elements lights of one drawn part (see the module docs).
Targets
What a drawn part’s elements are named in: the targets a lit element is of, which tell what it lights.

Functions§

lighting
What elements light of part and the parts placed in it, the placed parts whole lit whole. Only the parts an element is of are looked at, so lighting one face of an assembly of thousands of parts is cheap.

Type Aliases§

Lighting
What is lit of the part drawn — under "" — and of each part placed in it, by its name (bolt, asm/bolt): only those of which something is.