Function nalgebra_glm::mix [−][src]
pub fn mix<N: Number>(x: N, y: N, a: N) -> N
Returns x * (1.0 - a) + y * a
, i.e., the linear blend of x and y using the floating-point value a.
The value for a is not restricted to the range [0, 1]
.