Skip to main content

vec3_lerp

Function vec3_lerp 

Source
pub fn vec3_lerp(a: [f64; 3], b: [f64; 3], t: f64) -> [f64; 3]
Expand description

Linear interpolation between two 3-vectors: a + t*(b-a).