brick-3d-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Brick3D.Renderer

Synopsis

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

farNearClip :: Camera -> Primitive -> Bool Source #

True if given Primitive is not clipped by far/near plane

far/near平面によって描画されているかを確認する。 x,y方向の確認はしない

projectPrimitive :: Float -> Primitive -> Maybe DCPrimitive Source #

Project one Primitive to device coordinate

projectVertex :: Float -> Vertex -> Maybe DCVertex Source #

Project one vertex to device coordinate