Package org.bukkit.util
Class Transformation
java.lang.Object
org.bukkit.util.Transformation
Represents an arbitrary affine transformation.
- 
Constructor SummaryConstructorsConstructorDescriptionTransformation(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 SummaryModifier and TypeMethodDescriptionbooleanorg.joml.QuaternionfGets the left rotation component of this transformation.org.joml.QuaternionfGets the right rotation component of this transformation.org.joml.Vector3fgetScale()Gets the scale component of this transformation.org.joml.Vector3fGets the translation component of this transformation.inthashCode()toString()
- 
Constructor Details- 
Transformationpublic Transformation(@NotNull org.joml.Vector3f translation, @NotNull org.joml.AxisAngle4f leftRotation, @NotNull org.joml.Vector3f scale, @NotNull org.joml.AxisAngle4f rightRotation) 
- 
Transformationpublic Transformation(@NotNull org.joml.Vector3f translation, @NotNull org.joml.Quaternionf leftRotation, @NotNull org.joml.Vector3f scale, @NotNull org.joml.Quaternionf rightRotation) 
 
- 
- 
Method Details- 
getTranslation@NotNull public org.joml.Vector3f getTranslation()Gets the translation component of this transformation.- Returns:
- translation component
 
- 
getLeftRotation@NotNull public org.joml.Quaternionf getLeftRotation()Gets the left rotation component of this transformation.- Returns:
- left rotation component
 
- 
getScale@NotNull public org.joml.Vector3f getScale()Gets the scale component of this transformation.- Returns:
- scale component
 
- 
getRightRotation@NotNull public org.joml.Quaternionf getRightRotation()Gets the right rotation component of this transformation.- Returns:
- right rotation component
 
- 
hashCodepublic int hashCode()
- 
equals
- 
toString
 
-