pub trait FloatExt {
// Required methods
fn square(self) -> Self;
fn lerp(self, other: Self, t: Self) -> Self;
}
Expand description
Trait to use the following functions on the float primitives.
Here for convenience.
pub trait FloatExt {
// Required methods
fn square(self) -> Self;
fn lerp(self, other: Self, t: Self) -> Self;
}
Trait to use the following functions on the float primitives.
Here for convenience.