Package com.jme3.bullet.util
Class Converter
java.lang.Object
com.jme3.bullet.util.Converter
Nice convenience methods for conversion between javax.vecmath and com.jme3.math
Objects, also some jme to jbullet mesh conversion.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Mesh
convert
(com.bulletphysics.collision.shapes.IndexedMesh mesh) static Mesh
convert
(com.bulletphysics.dom.HeightfieldTerrainShape heightfieldShape) static Transform
static javax.vecmath.Matrix3f
static javax.vecmath.Matrix3f
static javax.vecmath.Quat4f
convert
(Quaternion oldQuat) static javax.vecmath.Matrix3f
convert
(Quaternion oldQuaternion, javax.vecmath.Matrix3f newMatrix) static javax.vecmath.Quat4f
convert
(Quaternion oldQuat, javax.vecmath.Quat4f newQuat) static com.bulletphysics.linearmath.Transform
static javax.vecmath.Vector3f
static javax.vecmath.Vector3f
static com.bulletphysics.collision.shapes.IndexedMesh
static Matrix3f
convert
(javax.vecmath.Matrix3f oldMatrix) static Matrix3f
static Quaternion
convert
(javax.vecmath.Matrix3f oldMatrix, Quaternion newQuaternion) static Quaternion
convert
(javax.vecmath.Quat4f oldQuat) static Quaternion
convert
(javax.vecmath.Quat4f oldQuat, Quaternion newQuat) static Vector3f
convert
(javax.vecmath.Vector3f oldVec) static Vector3f
-
Method Details
-
convert
-
convert
-
convert
-
convert
-
convert
-
convert
-
convert
-
convert
-
convert
-
convert
public static javax.vecmath.Matrix3f convert(Quaternion oldQuaternion, javax.vecmath.Matrix3f newMatrix) -
convert
-
convert
-
convert
-
convert
-
convert
public static com.bulletphysics.linearmath.Transform convert(Transform in, com.bulletphysics.linearmath.Transform out) -
convert
-
convert
-
convert
-
convert
-