Copyright | [2019..2020] Trevor L. McDonell |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Trevor L. McDonell <trevor.mcdonell@gmail.com> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Common projection matrices; for example perspective and orthographic transformation matrices.
Since: 0.7.0.0
Synopsis
- lookAt :: (Epsilon a, Floating a) => Exp (V3 a) -> Exp (V3 a) -> Exp (V3 a) -> Exp (M44 a)
- perspective :: Floating a => Exp a -> Exp a -> Exp a -> Exp a -> Exp (M44 a)
- infinitePerspective :: Floating a => Exp a -> Exp a -> Exp a -> Exp (M44 a)
- ortho :: Floating a => Exp a -> Exp a -> Exp a -> Exp a -> Exp a -> Exp a -> Exp (M44 a)
- ($$$$$$) :: (b -> a) -> (c -> d -> e -> f -> g -> h -> b) -> c -> d -> e -> f -> g -> h -> a
Documentation
Build a look at view matrix
Build a matrix for a symmetric perspective-view frustum
Build a matrix for a symmetric perspective-view frustum with a far plane at infinite