Package org.bukkit.util
Class Transformation
java.lang.Object
org.bukkit.util.Transformation
Represents an arbitrary affine transformation.
-
Constructor Summary
ConstructorDescriptionTransformation
(org.joml.Vector3f translation, org.joml.AxisAngle4f leftRotation, org.joml.Vector3f scale, org.joml.AxisAngle4f rightRotation) Transformation
(org.joml.Vector3f translation, org.joml.Quaternionf leftRotation, org.joml.Vector3f scale, org.joml.Quaternionf rightRotation) -
Method Summary
Modifier and TypeMethodDescriptionboolean
org.joml.Quaternionf
Gets the left rotation component of this transformation.org.joml.Quaternionf
Gets the right rotation component of this transformation.org.joml.Vector3f
getScale()
Gets the scale component of this transformation.org.joml.Vector3f
Gets the translation component of this transformation.int
hashCode()
toString()
-
Constructor Details
-
Transformation
-
Transformation
-
-
Method Details
-
getTranslation
Gets the translation component of this transformation.- Returns:
- translation component
-
getLeftRotation
Gets the left rotation component of this transformation.- Returns:
- left rotation component
-
getScale
Gets the scale component of this transformation.- Returns:
- scale component
-
getRightRotation
Gets the right rotation component of this transformation.- Returns:
- right rotation component
-
hashCode
public int hashCode() -
equals
-
toString
-