Trait FloatingScalar
vector2math
pub trait FloatingScalar: Scalar + Pow<Self, Output = Self> + Sin<Output = Self> + Cos<Output = Self> { const PI: Self; const EPSILON: Self; }
Trait for floating-point scalar numbers
const PI: Self
The value of Pi
const EPSILON: Self
The epsilon value
impl FloatingScalar for f32
impl FloatingScalar for f64