Skip to main content
Added download link (it was pretty obscure to find). Added description of advantages over other libraries, relation to Java 3D, and status of inclusion in Java distributions.
Source Link
Anko
  • 13.4k
  • 10
  • 55
  • 82

You could implement Vectors in Java usingThe Vecmathvecmath-package from Java 3D can be used separately from the rest of the project. Its documentationIt allows in-place modification of vectors and has various methods that are convenient and efficient for games (such as lengthSquared, which avoids a √-operation).

vecmath.jar is 312K and works well separately from the rest of Java3D. It may be included under javax.vecmath in some Java distributions, but you can download it at the below link if not.

Downloads | located hereDocumentation.

You could implement Vectors in Java using Vecmath. Its documentation is located here.

The vecmath-package from Java 3D can be used separately from the rest of the project. It allows in-place modification of vectors and has various methods that are convenient and efficient for games (such as lengthSquared, which avoids a √-operation).

vecmath.jar is 312K and works well separately from the rest of Java3D. It may be included under javax.vecmath in some Java distributions, but you can download it at the below link if not.

Downloads | Documentation

Just posting a couple of links is not a good answer.
Source Link
doppelgreener
  • 7.3k
  • 7
  • 43
  • 69