[sdljava-users] Forget that old patch.. here is a better one ;)
Status: Beta
Brought to you by:
ivan_ganza
From: Chris D. <Des...@nt...> - 2005-02-21 21:29:12
|
Ignore the old patch if you haven't already applied it (I'm pretty sure you haven't), as I've significantly worked on a number of areas tonight, including adding a new SDLPoint class having the SDLRect class extend from it, and the previous changes I made are also rolled into this patch. Something I saw which might be significant, however, is that all the positional stuff we need is actually in javax.vecmath, including 3DPoint, if you are using that for the OpenGL modelling stuff.(See http://java.sun.com/products/java-media/3D/forDevelopers/j3dapi/javax/vecmath/package-summary.html). Using this would save us reinventing the wheel, but might incur an extra download cost for the user. I also notice that you have Vector.java which is meant to hold a coordiante in 3D space. However, you forget that vectors also have length and direction. By the way, is there an SDLJava IRC channel we could go to to discuss stuff? Somewhere on OpenProjects / FreeNode, perhaps? ;) Anyway, my new patch is attached to this message, with many modifications. Again, tell me if there is anything wrong with it. Regards, Chris -- |>>> Dessimat0r /`\ | "We cannot turn back time, but we can _ _|_ _ move it forwards with our own hands." |;|_|;|_|;| \\. . / [www: http://codeknight.net ] \\: . / [e-mail: des...@nt... ] ||: U | /`\ [icq: 21477909 ] ||:. | [msn: des...@nt... ] \,/ ||: U.| ||: | \,/ ||: , | ____--`~--- '--~~__ __ ----~ - ~`---, -~--~ ~---__ ,--~' ~~----___ |