Package org.bukkit.util
Class Transformation
java.lang.Object
org.bukkit.util.Transformation
Represents an arbitrary affine transformation.
-
Constructor Summary
ConstructorDescriptionTransformation
(@NotNull Vector3f translation, @NotNull AxisAngle4f leftRotation, @NotNull Vector3f scale, @NotNull AxisAngle4f rightRotation) Transformation
(@NotNull Vector3f translation, @NotNull Quaternionf leftRotation, @NotNull Vector3f scale, @NotNull Quaternionf rightRotation) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the left rotation component of this transformation.Gets the right rotation component of this transformation.getScale()
Gets the scale component of this transformation.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
-