[GEM-dev] Lua again: now with luaglut/luagl

Claude Heiland-Allen claudiusmaximus at goto10.org
Wed Nov 28 14:05:50 CET 2007


Frank Barknecht wrote:
> Anyone with good explanations?

M is the class, self is the instance.

> function M:in_1(sel, atoms)
>     if sel == "gem_state" then
>        M:render(self)
>     end
> end

Try replacing M:render(self) with self:render() ?

(Don't have time to test this right now, but I think that's the solution...)

Hope this helps,


Claude
-- 
http://claudiusmaximus.goto10.org





More information about the GEM-dev mailing list