Functionsยง
- f64_
vector3_ to_ u8 - Takes a normalized
Vector3<f64>
and returns a conversion toVector3<u8>
in 24 bit color space - length
- Returns the length of UV coordinate
- normal_
to_ rgb - Takes a normalized value and returns a conversion to a single 8 bit color channel
- uv
- Returns the UV space conversion of the pixel coordinate. Centered at (0,0). Adjusted for aspect ratio.