Safe Haskell | None |
---|---|

Language | Haskell2010 |

# Documentation

parallelX0 :: Deformation R3 Source

The parallel projection onto the plane x=0

perspectiveX1 :: Deformation R3 Source

The perspective division onto the plane x=1 along lines going through the origin.

parallelY0 :: Deformation R3 Source

The parallel projection onto the plane y=0

perspectiveY1 :: Deformation R3 Source

The perspective division onto the plane y=1 along lines going through the origin.

parallelZ0 :: Deformation R3 Source

The parallel projection onto the plane z=0

perspectiveZ1 :: Deformation R3 Source

The perspective division onto the plane z=1 along lines going through the origin.

facingX :: Deformation R3 Source

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
```