From: Xavier Date: 2006-02-21T18:05:05+09:00 Subject: Re: can opengl work with an object method? Logan Capaldo wrote: > On Feb 20, 2006, at 7:38 PM, anne001 wrote: > >> def traversetree >> >> > > I'm pretty sure you meant to write: > GLUT.DisplayFunc(upperarm.method(:traversetree)) I'm pretty sure you meant to write: GLUT.DisplayFunc(upperarm.method(:traversetree).to_proc) Note the "to_proc" at the end. Just had to do this myself :) -- Posted via http://www.ruby-forum.com/.