object Companion


Link copied to clipboard

Creates a TransformationMatrix object with an identity transform. Subtracting a TransformationMatrix from an identity matrix is useful for getting the inverse of that transformation matrix, i.e., identity matrix - other matrix = inverse(other matrix).

Link copied to clipboard
fun createWithQuaternionAndTranslation(quaternionX: Double, quaternionY: Double, quaternionZ: Double, quaternionW: Double, translationX: Double, translationY: Double, translationZ: Double): TransformationMatrix

Create a TransformationMatrix object using x, y, z, w quaternion and x, y, z translations.