- animatedCube :: (Scene, [Animation])
- aScene :: Scene
- lightedGeometry :: [Geometry] -> Scene
- lightedSceneNode :: SceneNode -> Scene
- lightedScene :: Scene -> Scene
- aCube :: SceneNode
- obj :: String -> [Geometry] -> (Float, Float, Float) -> SceneNode
- animation :: [Animation]
- cube :: Geometry
- polys :: [(Float, Float, Float)] -> [(Float, Float, Float)] -> [[Int]] -> [[Int]] -> [Geometry]
- lines :: [(Float, Float, Float)] -> [(Float, Float, Float)] -> [[Int]] -> [[Int]] -> [Geometry]
- trifans :: [(Float, Float, Float)] -> [(Float, Float, Float)] -> [[Int]] -> [[Int]] -> [Geometry]
- tristrips :: [(Float, Float, Float)] -> [(Float, Float, Float)] -> [[Int]] -> [[Int]] -> [Geometry]
- ge :: Geometry -> SceneNode
- scene2 :: Scene
- animation2 :: [Animation]
- emptyAnimation :: [[Animation]]
- emptyAnim :: [Animation]
- new_channels :: AnimChannel -> [SceneNode] -> AnimChannel
- tran :: SceneNode -> (Float, Float, Float) -> String -> SceneNode
- test_objs :: [SceneNode]
- xyz_grid :: Int -> Int -> Int -> Float -> SceneNode -> [SceneNode]
- en :: [(Float, Float, Float)]
- rename :: SceneNode -> String -> SceneNode
- streamScene :: [SceneNode] -> Scene
- streamAnimation :: [(Float, Float, Float)] -> [SceneNode] -> [Animation]
Documentation
animatedCube :: (Scene, [Animation])Source
An animated cube
lightedGeometry :: [Geometry] -> SceneSource
lightedScene :: Scene -> SceneSource
polys :: [(Float, Float, Float)] -> [(Float, Float, Float)] -> [[Int]] -> [[Int]] -> [Geometry]Source
lines :: [(Float, Float, Float)] -> [(Float, Float, Float)] -> [[Int]] -> [[Int]] -> [Geometry]Source
trifans :: [(Float, Float, Float)] -> [(Float, Float, Float)] -> [[Int]] -> [[Int]] -> [Geometry]Source
tristrips :: [(Float, Float, Float)] -> [(Float, Float, Float)] -> [[Int]] -> [[Int]] -> [Geometry]Source
animation2 :: [Animation]Source
Animation of several cubes
emptyAnimation :: [[Animation]]Source
new_channels :: AnimChannel -> [SceneNode] -> AnimChannelSource
generate an animation that points to the cubes
tran :: SceneNode -> (Float, Float, Float) -> String -> SceneNodeSource
a helper function for xyz_grid
xyz_grid :: Int -> Int -> Int -> Float -> SceneNode -> [SceneNode]Source
Generate a 3 dimensional grid where an object (stored in a SceneNode) is repeated in along the grid
streamScene :: [SceneNode] -> SceneSource