Function veloren_voxygen::scene::math::mul_add
source · pub fn mul_add<Output, V, M, A>(val: V, mul: M, add: A) -> Outputwhere
V: MulAdd<M, A, Output = Output>,
👎Deprecated since 0.15.0: This is redundant with num-trait’s MulAdd trait and std’s mul_add operation
Expand description
Returns (val * mul) + add
.