Add ui_js.go and input_js.go

This commit is contained in:
Hajime Hoshi
2015-01-02 15:20:05 +09:00
parent c95390801a
commit cadb3fffdf
5 changed files with 101 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ func NewContext(gl *webgl.Context) *Context {
DynamicDraw: BufferUsageType(gl.DYNAMIC_DRAW),
StaticDraw: BufferUsageType(gl.STATIC_DRAW),
}
c.gl = gl
c.init()
return c
}