Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- drawScene :: Monad m => Scene g -> (M44 Float -> Phong -> g -> m ()) -> m ()
- drawScene' :: Monad m => M44 Float -> Phong -> Scene g -> (M44 Float -> Phong -> g -> m ()) -> m ()
- mapSceneData :: (SceneData g1 -> SceneData g2) -> SceneGraph g1 -> SceneGraph g2
- foldSceneData :: (SceneData g -> a -> a) -> a -> SceneGraph g -> a
Documentation
drawScene :: Monad m => Scene g -> (M44 Float -> Phong -> g -> m ()) -> m () Source #
Draw a scene graph (or a scenegraph fragment)
drawScene' :: Monad m => M44 Float -> Phong -> Scene g -> (M44 Float -> Phong -> g -> m ()) -> m () Source #
mapSceneData :: (SceneData g1 -> SceneData g2) -> SceneGraph g1 -> SceneGraph g2 Source #
foldSceneData :: (SceneData g -> a -> a) -> a -> SceneGraph g -> a Source #