Re: Updated version of the ported gears demo

2008-12-01 Thread ivant
On Dec 1, 7:48 pm, mehrheit <[EMAIL PROTECTED]> wrote: > On Mon, 1 Dec 2008 08:37:22 -0800 (PST) > > ivant <[EMAIL PROTECTED]> wrote: > > >You are generally right about this, but not in this case.  This macro > >*explicitly* captures the variable "gl".  It is actually used in the > >body and is ex

Re: Updated version of the ported gears demo

2008-12-01 Thread mehrheit
On Mon, 1 Dec 2008 08:37:22 -0800 (PST) ivant <[EMAIL PROTECTED]> wrote: > >You are generally right about this, but not in this case. This macro >*explicitly* captures the variable "gl". It is actually used in the >body and is expected to be bound to the result of glBegin. > Could you elaborat

Re: Updated version of the ported gears demo

2008-12-01 Thread ivant
On Dec 1, 5:37 pm, mehrheit <[EMAIL PROTECTED]> wrote: > On Mon, 1 Dec 2008 06:53:47 -0800 (PST) > > ivant <[EMAIL PROTECTED]> wrote: > > > On Dec 1, 9:23 am, "Andrew P. Lentvorski, Jr." <[EMAIL PROTECTED]> > > wrote: > > > (defmacro with-gl > >   [gl mode & body] > >   `(try (. ~gl glBegin (. GL

Re: Updated version of the ported gears demo

2008-12-01 Thread mehrheit
On Mon, 1 Dec 2008 06:53:47 -0800 (PST) ivant <[EMAIL PROTECTED]> wrote: > > On Dec 1, 9:23 am, "Andrew P. Lentvorski, Jr." <[EMAIL PROTECTED]> > wrote: > > (defmacro with-gl > [gl mode & body] > `(try (. ~gl glBegin (. GL ~mode)) > [EMAIL PROTECTED] > (finally (. ~gl glEnd >

Re: Updated version of the ported gears demo

2008-12-01 Thread ivant
On Dec 1, 9:23 am, "Andrew P. Lentvorski, Jr." <[EMAIL PROTECTED]> wrote: > I'd really like some folks to take a look at the "gl-beg-end" macro. > It took me *way* too long to figure out how to update that. I'd suggest to update it with the following version: (defmacro with-gl [gl mode & body]

Re: Updated version of the ported gears demo

2008-11-30 Thread Michael Wood
On Mon, Dec 1, 2008 at 9:23 AM, Andrew P. Lentvorski, Jr. <[EMAIL PROTECTED]> wrote: > > I updated the gears demo port to use the new Java interop syntax. It > runs, but it would be nice if somebody would give it a good looking at > to make sure I didn't do anything truly stupid. > http://clojure