简体   繁体   English

建议一个简单的Java数学库以用于与OpenGL(lwjgl)一起使用的矩阵运算

[英]Suggest a simple Java math library for matrix operations for use with OpenGL (lwjgl)

I'm writing an OpenGL app with Java. 我正在用Java编写OpenGL应用程序。 I need to do some math for camera and frustum culling (for AABB). 我需要为相机和视锥剔除(对于AABB)做一些数学运算。 Could you suggest a simple and fast Java math library for that? 您能为此建议一个简单快速的Java数学库吗?

Jama非常简单快捷。

http://commons.apache.org/math/-如果您更喜欢apache

EJML is another linear algebra library which may worth looking: EJML是另一个线性代数库,可能值得一看:

Efficient Java Matrix Library (EJML) is a linear algebra library for manipulating real/complex/dense/sparse matrices. 高效的Java矩阵库(EJML)是用于处理实数/复杂/密集/稀疏矩阵的线性代数库。 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. 1)对于小型和大型矩阵都应尽可能提高计算和存储效率,并且2)新手和专家都可以访问。 These goals are accomplished by dynamically selecting the best algorithms to use at runtime, clean API, and multiple interfaces. 通过动态选择在运行时使用的最佳算法,干净的API和多个接口来实现这些目标。 EJML is free, written in 100% Java and has been released under an Apache v2.0 license. EJML是免费的,使用100%Java编写,并已根据Apache v2.0许可证发行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM