java.lang.Object
uk.ac.soton.grophysics.PhysicsUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDifference
(Matrix4d mNew, Matrix4d mOld) Utility to get the difference between two transforms By multiplying the inverse of the first by the secondgetMatrix4d
(com.bulletphysics.linearmath.Transform transform) Utility to get a double matrix from a transformUtility to get a translation matrix from a vectoroffsetMatrix
(Matrix4d in, Point3d offset) Offset the input matrix by the point offsetoffsetMatrix
(Matrix4d in, Vector3d offset) offset the input matrix by the vector offsetvoid
showNodeInfo
(Node node) Display some info about a Node
-
Constructor Details
-
PhysicsUtils
public PhysicsUtils()
-
-
Method Details
-
offsetMatrix
Offset the input matrix by the point offset -
offsetMatrix
offset the input matrix by the vector offset -
getMatrix4d
Utility to get a double matrix from a transform -
getTranslation
Utility to get a translation matrix from a vector -
getDifference
Utility to get the difference between two transforms By multiplying the inverse of the first by the second -
showNodeInfo
Display some info about a Node- Parameters:
node
-
-