[−][src]Trait vector2math::FloatingScalar
Trait for floating-point scalar numbers
Associated Constants
Loading content...Provided methods
fn tau() -> Self
Get the value of Tau, or 2π
fn lerp(self, other: Self, t: Self) -> Self
Linear interpolate the scalar with another
fn angle_as_vector(self) -> [Self; 2]
Get the unit vector corresponding to an angle in radians defined by the scalar
fn is_zero(self) -> bool
Check if the value is within its epsilon range