mix static method
Interpolate between min
and max
with the amount of a
using a linear
interpolation and store the values in result
.
Implementation
static void mix(Vector4 min, Vector4 max, double a, Vector4 result) {
result
..x = min.x + a * (max.x - min.x)
..y = min.y + a * (max.y - min.y)
..z = min.z + a * (max.z - min.z)
..w = min.w + a * (max.w - min.w);
}