max6: glu in jit.gl.lua?
Dear Maxers,
Just installed Max 6 and was wondering if I still can use the utility library routines. In Max 5 I always used glu.Perspective and glu.LookAt for example, but now it seems they don't work. I could use gl.Frustum instead, but it's not so intuitive as perspective. Should I change my habit or did I miss something obvious? Regards, Jochem
It's there. I need to update the gl.lua documentation to explain how to get at it. It's now setup as a sub-module of the opengl module. Here's the code to get it:
local gl = require("opengl")
local glu = require("opengl.glu")
print("glu", glu)
print("glu.LookAt", glu.LookAt)
ah, wonderful!
many thanks for the fast reply.