pub trait ShaderMath {
Show 26 methods fn abs(self) -> Self; fn sin(self) -> Self; fn cos(self) -> Self; fn tan(self) -> Self; fn asin(self) -> Self; fn acos(self) -> Self; fn atan(self) -> Self; fn sinh(self) -> Self; fn cosh(self) -> Self; fn tanh(self) -> Self; fn asinh(self) -> Self; fn acosh(self) -> Self; fn atanh(self) -> Self; fn fract(self) -> Self; fn ceil(self) -> Self; fn floor(self) -> Self; fn min(self, v: Self) -> Self; fn max(self, v: Self) -> Self; fn clamp(self, low: Self, high: Self) -> Self; fn exp(self) -> Self; fn exp2(self) -> Self; fn ln(self) -> Self; fn log2(self) -> Self; fn log10(self) -> Self; fn powf(self, v: Self) -> Self; fn powi(self, p: i32) -> Self;
}

Required Methods

Implementations on Foreign Types

Implementors