Re: [MacRuby-devel] Vertex buffer objects in OpenGL

2011-01-12 Thread Matt Aimonetti
Thanks Dave for the update, I believe Laurent just added support for that in trunk: ptr = Pointer.magic_cookie(12) glVertexPointer(3, GL_FLOAT, ptr) It looks like you are having fun with OpenGL and MacRuby, would you mind writing a small intro article for the MacRuby website? That would be really

Re: [MacRuby-devel] ->(){} lambda syntax support

2011-01-12 Thread Eloy Duran
Yes, last time I checked there were no IRB specs. Ours is a (mostly) cleanroom rewrite: https://github.com/MacRuby/DietRB On 12 jan 2011, at 22:27, Joseph Anthony Pasquale Holsten wrote: > Is this testing different from rubyspec? > > On Jan 11, 2011, at 6:24 PM, Eloy Duran wrote: > >> I was ab

Re: [MacRuby-devel] Vertex buffer objects in OpenGL

2011-01-12 Thread Dave Baldwin
Just to give an answer for anyone finding this later. On 21 Dec 2010, at 20:20, Dave Baldwin wrote: > I have an openGL program that works if I use vertex arrays to store the > geometry data, but if I convert it to use an openGL vertex buffer object then > nothing is drawn. Has anyone got verte

Re: [MacRuby-devel] ->(){} lambda syntax support

2011-01-12 Thread Joseph Anthony Pasquale Holsten
Is this testing different from rubyspec? On Jan 11, 2011, at 6:24 PM, Eloy Duran wrote: > I was about to take a look at this, but then my girlfriend introduced me to > Rémi Gaillard… So as you can expect I didn't finish it :) Will have a look > tomorrow, feel free to file a ticket in the meanti

Re: [MacRuby-devel] enumerateObjectsUsingBlock

2011-01-12 Thread Laurent Sansonetti
Hi Alan, Ouch, you may have found a bug… can you file a ticket? I will look into it for the upcoming release. Thanks, Laurent On Jan 12, 2011, at 1:03 AM, Alan Skipp wrote: > Hi everyone, > Below is a reduction of a problem I've noticed when using > 'enumerateObjectsUsingBlock' from inside a

[MacRuby-devel] enumerateObjectsUsingBlock

2011-01-12 Thread Alan Skipp
Hi everyone, Below is a reduction of a problem I've noticed when using 'enumerateObjectsUsingBlock' from inside a proc. The line which causes trouble is: [1,2,3].enumerateObjectsUsingBlock( Proc.new { |o, i, s| puts "inner enumeration #{o}" } ) If this line is replaced with: [1,