jit.gl.lua referance


    Jan 03 2012 | 10:55 am
    hey
    where can i find all the keywords (?) jit.gl.lua knows
    any reference in the works?
    like:
    gl.Color(1, 1, 1, 1)
    gl.Begin("QUADS")
    gl.TexCoord(1, 0)
    gl.Vertex(1, -1, 0)
    gl.PushMatrix()
    gl.Translate(x, y, 0)
    gl.Scale(Scl,Scl,Scl)
    gl.Material(GL.FRONT_AND_BACK, GL.DIFFUSE, {t, s, 1-t, 1})

    • Jan 04 2012 | 12:27 am
      If you search in the documentation window for jit.gl.lua, you'll find a page called jit.gl.lua OpenGL Bindings. All of the OpenGL stuff is in there.