1module Graphics.WebGL where
11import Graphics.Element (Element)
12import Native.Graphics.WebGL
14data GLContext = Fake_GLContext
16glContext : Int -> Int -> Signal GLContext
17glContext = Native.Graphics.WebGL.glContext
19type GLPoint = { pos: V3, color: Color }
20type GLTriangle = { a: GLPoint, b: GLPoint, c: GLPoint }
24makeMesh : [GLTriangle] -> GLContext -> Mesh
25makeMesh = Native.Graphics.WebGL.makeMesh
27data Scene = Node M4x4 [Scene] | Leaf Mesh
29renderGL : GLContext -> Scene -> Element
30renderGL = Native.Graphics.WebGL.renderGL
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