ztellman / penumbra

not under active development - idiomatic opengl bindings for clojure
354 stars 43 forks source link

No more native-deps needed #35

Closed adinapoli closed 13 years ago

adinapoli commented 13 years ago

Hi Zachary,

in first place I want to thank you for creating this useful wrapper library. I really love your work. I've spent the last month developing a clojure 3d library called clj3d (you may have heard about it). Now I've decide to invest my time and improve penumbra as well.

I've tweaked a bit the code in order to make the Penumbra's dependencies process completely automatic, and I had success. I have modified the original JMonkey code and I've adapted it to Penumbra. Now you no longer require native-deps or other stuff. I use only the "lwjgl-natives.jar" shipped with Jmonkey. There are some APIs that automatically extract the required natives at runtime.

I've changed these APIs and I've included it in my Penumbra's work. Now all you need to do is:

lein deps lein compile lein repl

I've putted the code for automatic extraction in core.clj, so I'm (sure??) it will be always executed. I think that may be a nice improvement in the usability of your library.

If you want to incorporate this, it's yours.

Best,

Alfredo Di Napoli

ztellman commented 13 years ago

Very cool. I'll take a look at it as soon as I have time.

adinapoli commented 13 years ago

Glad to have been useful.

See you, Alfredo