From: Logan Capaldo Date: 2006-02-22T02:14:23+09:00 Subject: Re: can opengl work with an object method? --Apple-Mail-1--973921537 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On Feb 20, 2006, at 9:16 PM, Ilmari Heikkinen wrote: > On 2/21/06, Logan Capaldo wrote: >> >> On Feb 20, 2006, at 7:38 PM, anne001 wrote: >> >>> GLUT.DisplayFunc(upperarm.traversetree); >> >> I'm pretty sure you meant to write: >> GLUT.DisplayFunc(upperarm.method(:traversetree)) >> > > Except that GLUT insists on getting a Proc :| > glut.c:22 > if (!rb_obj_is_kind_of(arg1,rb_cProc) && !NIL_P(arg1)) \ > rb_raise(rb_eTypeError, "GLUT.%s:%s",#_funcname, > rb_class2name(CLASS_OF(arg1))); \ This makes me sad :( --Apple-Mail-1--973921537--