Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
The parallel projection onto the line x=0
perspectiveX1 :: Deformation R2
The perspective division onto the line x=1 along lines going through the origin.
The parallel projection onto the line y=0
perspectiveY1 :: Deformation R2
The perspective division onto the line y=1 along lines going through the origin.
facingX :: Deformation R2
The viewing transform for a viewer facing along the positive X
axis. X coördinates stay fixed, while Y coördinates are compressed
with increasing distance. asDeformation (translation unitX) <>
parallelX0 <> frustrumX = perspectiveX1
facingY :: Deformation R2