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.
- Author:
- normenhansen
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.jme3.scene.Meshconvert(com.bulletphysics.collision.shapes.IndexedMesh mesh) static com.jme3.scene.Meshconvert(com.bulletphysics.dom.HeightfieldTerrainShape heightfieldShape) static com.jme3.math.Transformconvert(com.bulletphysics.linearmath.Transform in, com.jme3.math.Transform out) static javax.vecmath.Matrix3fconvert(com.jme3.math.Matrix3f oldMatrix) static javax.vecmath.Matrix3fconvert(com.jme3.math.Matrix3f oldMatrix, javax.vecmath.Matrix3f newMatrix) static javax.vecmath.Quat4fconvert(com.jme3.math.Quaternion oldQuat) static javax.vecmath.Matrix3fconvert(com.jme3.math.Quaternion oldQuaternion, javax.vecmath.Matrix3f newMatrix) static javax.vecmath.Quat4fconvert(com.jme3.math.Quaternion oldQuat, javax.vecmath.Quat4f newQuat) static com.bulletphysics.linearmath.Transformconvert(com.jme3.math.Transform in, com.bulletphysics.linearmath.Transform out) static javax.vecmath.Vector3fconvert(com.jme3.math.Vector3f oldVec) static javax.vecmath.Vector3fconvert(com.jme3.math.Vector3f oldVec, javax.vecmath.Vector3f newVec) static com.bulletphysics.collision.shapes.IndexedMeshconvert(com.jme3.scene.Mesh mesh) static com.jme3.math.Matrix3fconvert(javax.vecmath.Matrix3f oldMatrix) static com.jme3.math.Matrix3fconvert(javax.vecmath.Matrix3f oldMatrix, com.jme3.math.Matrix3f newMatrix) static com.jme3.math.Quaternionconvert(javax.vecmath.Matrix3f oldMatrix, com.jme3.math.Quaternion newQuaternion) static com.jme3.math.Quaternionconvert(javax.vecmath.Quat4f oldQuat) static com.jme3.math.Quaternionconvert(javax.vecmath.Quat4f oldQuat, com.jme3.math.Quaternion newQuat) static com.jme3.math.Vector3fconvert(javax.vecmath.Vector3f oldVec) static com.jme3.math.Vector3fconvert(javax.vecmath.Vector3f oldVec, com.jme3.math.Vector3f newVec)
-
Method Details
-
convert
public static com.jme3.math.Vector3f convert(javax.vecmath.Vector3f oldVec) -
convert
public static com.jme3.math.Vector3f convert(javax.vecmath.Vector3f oldVec, com.jme3.math.Vector3f newVec) -
convert
public static javax.vecmath.Vector3f convert(com.jme3.math.Vector3f oldVec) -
convert
public static javax.vecmath.Vector3f convert(com.jme3.math.Vector3f oldVec, javax.vecmath.Vector3f newVec) -
convert
public static javax.vecmath.Quat4f convert(com.jme3.math.Quaternion oldQuat, javax.vecmath.Quat4f newQuat) -
convert
public static javax.vecmath.Quat4f convert(com.jme3.math.Quaternion oldQuat) -
convert
public static com.jme3.math.Quaternion convert(javax.vecmath.Quat4f oldQuat, com.jme3.math.Quaternion newQuat) -
convert
public static com.jme3.math.Quaternion convert(javax.vecmath.Quat4f oldQuat) -
convert
public static com.jme3.math.Quaternion convert(javax.vecmath.Matrix3f oldMatrix, com.jme3.math.Quaternion newQuaternion) -
convert
public static javax.vecmath.Matrix3f convert(com.jme3.math.Quaternion oldQuaternion, javax.vecmath.Matrix3f newMatrix) -
convert
public static com.jme3.math.Matrix3f convert(javax.vecmath.Matrix3f oldMatrix) -
convert
public static com.jme3.math.Matrix3f convert(javax.vecmath.Matrix3f oldMatrix, com.jme3.math.Matrix3f newMatrix) -
convert
public static javax.vecmath.Matrix3f convert(com.jme3.math.Matrix3f oldMatrix) -
convert
public static javax.vecmath.Matrix3f convert(com.jme3.math.Matrix3f oldMatrix, javax.vecmath.Matrix3f newMatrix) -
convert
public static com.bulletphysics.linearmath.Transform convert(com.jme3.math.Transform in, com.bulletphysics.linearmath.Transform out) -
convert
public static com.jme3.math.Transform convert(com.bulletphysics.linearmath.Transform in, com.jme3.math.Transform out) -
convert
public static com.bulletphysics.collision.shapes.IndexedMesh convert(com.jme3.scene.Mesh mesh) -
convert
public static com.jme3.scene.Mesh convert(com.bulletphysics.collision.shapes.IndexedMesh mesh) -
convert
public static com.jme3.scene.Mesh convert(com.bulletphysics.dom.HeightfieldTerrainShape heightfieldShape)
-