jit.gl.lua + jit.gl.text2d stability


    Feb 14 2008 | 12:10 pm
    Hi all,
    Am looking to use jit.gl.text2d in jit.gl.lua.
    It seems unstable. I've attached an example patch and script.
    Any thoughts?
    Tim
    autowatch = 1
    Text = jit.new("jit.gl.text2d", this.drawto) Text.text = "Go"
    function draw() Text:draw() end

    • Mar 29 2008 | 8:13 pm
      .text seems to be a method of jit.gl.text2/3d. try
      text.text("Go")