Skip to main content

vec3_add

Function vec3_add 

Source
pub fn vec3_add(dst: &mut [f32; 3], src: [f32; 3])
Expand description

Accumulate src into dst in place. Used by the smooth-normal passes, which sum every incident face normal per vertex before normalising once.