Meikel & Jeff,
Thank you. That really helped me get over the current hump. But as I
encounter more, I'm realizing I need to learn a lot more about the
Java interop.
Thanks,
- Hitesh
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
hitesh wrote:
> I'm working on some opengl code in clojure and I want to specify a
> vertex. However, instead of passing in the three arguments it wants,
> I want to specify a single vector of 3 elements. How can I do this?
>
> Here's what it would normally look like (gl represents the current
>
hitesh wrote:
> I'm working on some opengl code in clojure and I want to specify a
> vertex. However, instead of passing in the three arguments it wants,
> I want to specify a single vector of 3 elements. How can I do this?
>
> Here's what it would normally look like (gl represents the current
>
Hi,
On 5 Dez., 03:28, hitesh <[EMAIL PROTECTED]> wrote:
> (apply .glVertex3f gl point)
In general this is exactly how apply is used. However .foo
is special: "functions" starting with a dot are translated into
method calls on the first argument. So (.glVertex3f gl x y z)
translates is to (. gl g
I'm working on some opengl code in clojure and I want to specify a
vertex. However, instead of passing in the three arguments it wants,
I want to specify a single vector of 3 elements. How can I do this?
Here's what it would normally look like (gl represents the current
opengl drawing context o