Function vec3::set [−][src]
pub fn set<T>(out: &mut [T; 3], x: T, y: T, z: T) -> &mut [T; 3]
Example
let mut v = vec3::new_zero(); vec3::set(&mut v, 1, 1, 1); assert_eq!(v, vec3::new_one());
pub fn set<T>(out: &mut [T; 3], x: T, y: T, z: T) -> &mut [T; 3]
let mut v = vec3::new_zero(); vec3::set(&mut v, 1, 1, 1); assert_eq!(v, vec3::new_one());