Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- render :: MonadIO m => ThreeDState -> m ThreeDState
- render' :: ThreeDState -> [((Int, Int), Char, Attr)]
- farNearClip :: Camera -> Primitive -> Bool
- projectPrimitive :: Float -> Primitive -> Maybe DCPrimitive
- projectVertex :: Float -> Vertex -> Maybe DCVertex
- applyCameraTransform :: Camera -> Primitive -> Primitive
Documentation
render :: MonadIO m => ThreeDState -> m ThreeDState Source #
Renders ThreeDState
to one Canvas
,
which will be shown in Widget
render' :: ThreeDState -> [((Int, Int), Char, Attr)] Source #
Do rendering process other than IO operation (which is done in render
projectPrimitive :: Float -> Primitive -> Maybe DCPrimitive Source #
Project one Primitive
to device coordinate