Expand description
Traits for generic floats in game programming
Traitsยง
- Cast
- Casts into another type.
- Float
- Convenience trait for floats.
- From
Primitive - Trait for converting from different numeric types
- Max
- Maximum value.
- Min
- Minimum value.
- One
- Number 1.
- Powf
- Floating number power.
- Radians
- Useful constants for radians.
- Signum
- The sign of the number.
- Sqrt
- Square root.
- Trig
- Basic trigonometry functions
- Zero
- Number 0.