Crate point [] [src]

Beam.rs is a library that defines the core Point types for various laser projection libraries. This standardization makes it easier for library interop and prevents expensive and unwieldy type conversion.

Structs

PipelinePoint

Working point type. Do math calculations on this point type. Supports position (x, y), color (r, g, b), and an is_blank flag.

SimplePoint

Core point type. Supports position (x, y), color (r, g, b), and an is_blank flag.

Constants

COLOR_MAX

The highest value that can be specified for a single color channel. Note: this may only be relevant for EtherDream.

COLOR_MAX_F

Same as COLOR_MAX, but as a single-precision floating point number.