Module nannou::math [] [src]

Re-exports

pub use self::cgmath::*;

Macros

assert_relative_eq
assert_relative_ne
assert_ulps_eq
assert_ulps_ne
relative_eq

Predicate for testing the approximate equality of two values.

relative_ne

Predicate for testing the approximate inequality of two values.

ulps_eq

Predicate for testing the approximate equality of two values using a maximum ULPs (Units in Last Place).

ulps_ne

Predicate for testing the approximate inequality of two values using a maximum ULPs (Units in Last Place).

Traits

NumCast

An interface for casting between machine scalars.

One

Defines a multiplicative identity element for Self.

Functions

clamp

Clamp a value between some range.

map_range

Map a value from a given range to a new given range.

partial_max

The max between two partially ordered values.

partial_min

The min between two partially ordered values.

pt1
pt2
pt3
two