1module Graphics.WebGL where
9import Graphics.Element (Element)
10import Native.Graphics.WebGL
12type GLTriangle = { a: V3, b: V3, c: V3 }
14type Model = [(GLColor,GLTriangle)]
16data Transform = NoTransform
18data Scene = Node Transform [Scene] | Leaf Model
20glContext : Int -> Int -> Scene -> Element
21glContext = Native.Graphics.WebGL.glContext
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list