Question

I'm writing an OpenGL app with Java. I need to do some math for camera and frustum culling (for AABB). Could you suggest a simple and fast Java math library for that?

Was it helpful?

Solution

Jama is pretty simple and fast.

OTHER TIPS

http://commons.apache.org/math/ - if you prefer apache

EJML is another linear algebra library which may worth looking:

Efficient Java Matrix Library (EJML) is a linear algebra library for manipulating real/complex/dense/sparse matrices. Its design goals are; 1) to be as computationally and memory efficient as possible for both small and large matrices, and 2) to be accessible to both novices and experts. These goals are accomplished by dynamically selecting the best algorithms to use at runtime, clean API, and multiple interfaces. EJML is free, written in 100% Java and has been released under an Apache v2.0 license.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top