1module Graphics.WebGL where
10import Graphics.Element (Element)
11import Native.Graphics.WebGL
13type GLPoint = { pos: V3, color: Color }
14type GLTriangle = { a: GLPoint, b: GLPoint, c: GLPoint }
15type Model = [GLTriangle]
17data Scene = Node M4x4 [Scene] | Leaf Model
19glContext : Int -> Int -> Scene -> Element
20glContext = 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