try http://java.net/projects/vecmath http://download.java.net/media/java3d/javadoc/1.5.0/javax/vecmath/package-summary.html