Class Converter

java.lang.Object
com.jme3.bullet.util.Converter

public class Converter extends Object
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 Type
    Method
    Description
    static com.jme3.scene.Mesh
    convert(com.bulletphysics.collision.shapes.IndexedMesh mesh)
     
    static com.jme3.scene.Mesh
    convert(com.bulletphysics.dom.HeightfieldTerrainShape heightfieldShape)
     
    static com.jme3.math.Transform
    convert(com.bulletphysics.linearmath.Transform in, com.jme3.math.Transform out)
     
    static javax.vecmath.Matrix3f
    convert(com.jme3.math.Matrix3f oldMatrix)
     
    static javax.vecmath.Matrix3f
    convert(com.jme3.math.Matrix3f oldMatrix, javax.vecmath.Matrix3f newMatrix)
     
    static javax.vecmath.Quat4f
    convert(com.jme3.math.Quaternion oldQuat)
     
    static javax.vecmath.Matrix3f
    convert(com.jme3.math.Quaternion oldQuaternion, javax.vecmath.Matrix3f newMatrix)
     
    static javax.vecmath.Quat4f
    convert(com.jme3.math.Quaternion oldQuat, javax.vecmath.Quat4f newQuat)
     
    static com.bulletphysics.linearmath.Transform
    convert(com.jme3.math.Transform in, com.bulletphysics.linearmath.Transform out)
     
    static javax.vecmath.Vector3f
    convert(com.jme3.math.Vector3f oldVec)
     
    static javax.vecmath.Vector3f
    convert(com.jme3.math.Vector3f oldVec, javax.vecmath.Vector3f newVec)
     
    static com.bulletphysics.collision.shapes.IndexedMesh
    convert(com.jme3.scene.Mesh mesh)
     
    static com.jme3.math.Matrix3f
    convert(javax.vecmath.Matrix3f oldMatrix)
     
    static com.jme3.math.Matrix3f
    convert(javax.vecmath.Matrix3f oldMatrix, com.jme3.math.Matrix3f newMatrix)
     
    static com.jme3.math.Quaternion
    convert(javax.vecmath.Matrix3f oldMatrix, com.jme3.math.Quaternion newQuaternion)
     
    static com.jme3.math.Quaternion
    convert(javax.vecmath.Quat4f oldQuat)
     
    static com.jme3.math.Quaternion
    convert(javax.vecmath.Quat4f oldQuat, com.jme3.math.Quaternion newQuat)
     
    static com.jme3.math.Vector3f
    convert(javax.vecmath.Vector3f oldVec)
     
    static com.jme3.math.Vector3f
    convert(javax.vecmath.Vector3f oldVec, com.jme3.math.Vector3f newVec)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)