Module
Data.Geometria.Space
- Package
- purescript-geometria
- Repository
- Ebmtranceboy/purescript-geometria
#land Source
land :: Vector 3 -> Vector 3 -> Vector 3land n is a 3D-rotation such that, for every 3D vector u
in the plane P of normal vector n, land n u has a constant altitude
(z-coordinate). Thanks to land, every computation on P can be
performed in 2D. The rotation matrix is obtained by the landing
function, and, as it is orthogonal, the inverse transformation is simply
done by the transposed matrix.