[−][src]Function pbrt::core::geometry::vec3_permute
pub fn vec3_permute<T>(
v: &Vector3<T>,
x: usize,
y: usize,
z: usize
) -> Vector3<T> where
T: Copy,
Permute the coordinate values according to the povided permutation.