Gamgine-0.5.3: Some kind of game library or set of utilities.
Gamgine.Math.Matrix
module Data.Vec
type Matrix = Mat44 Double Source #
type Window = (Width, Height) Source #
data Frustum Source #
Constructors
Fields
Instances
Methods
(==) :: Frustum -> Frustum -> Bool #
(/=) :: Frustum -> Frustum -> Bool #
showsPrec :: Int -> Frustum -> ShowS #
show :: Frustum -> String #
showList :: [Frustum] -> ShowS #
mkOrtho :: Frustum -> Matrix Source #
mkScale :: Vect -> Matrix Source #
mkTranslate :: Vect -> Matrix Source #
mkWindowMatrix :: Window -> Matrix Source #
mkWorldToWinMatrix :: Window -> Frustum -> Matrix Source #
mkWinToWorldMatrix :: Window -> Frustum -> Matrix Source #
winToWorld :: Matrix -> WinCoord -> Vect Source #
inverseOrIdentity :: Matrix -> Matrix Source #