Skip to main content

reflect

Function reflect 

Source
pub fn reflect(d: DVec3, n: DVec3) -> DVec3
Expand description

Mirror d about the plane with normal n. Both should be normalised.