问题描述
新来这里的机器人。
有没有在SDK中的Android 2.2的3D数学库?我找不到一个,我希望会有之一。我不能够使用的javax。*包出于某种原因在Eclipse。
Is there an Android 2.2 3D math library in the SDK? I couldn't find one and I was hoping there would be one. I am not able to use javax.* packages for some reason in Eclipse.
我真正需要的东西是关于一个任意角度的任意轴旋转。
The thing I really need is rotation about an arbitrary axis of an arbitrary angle.
我真的不希望使用NDK,除非我不得不。如果有免费提供的Java 3D的数学库,我很想知道。它应该与Android。
I don't really want to use the NDK unless I am forced to. If there is a freely available Java 3d math library, I would love to know. It should work with Android.
它最好有基本的3D数学状横(),点()等以及任意旋转和缩放。
It should ideally have basic 3d math like cross(), dot(), etc. along with arbitrary rotation and scaling.
谢谢
推荐答案
我只是放弃了vecmath源到我的项目,它似乎编译和颜色*类做工精细分开(这是没有太大的损失)。
I just dropped the vecmath source in to my project and it seems to compile and work fine apart from Color* classes (which is no great loss).
这篇关于Android的3D数学库(向量,矩阵等)类似javax.vecmath.Matrix4f.rotate()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!