Contents
Class Mirror
java.lang.Object
com.hypixel.hytale.builtin.buildertools.tooloperations.transform.Mirror
- All Implemented Interfaces:
Transform
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(org.joml.Vector3i vector3i) static Transformstatic TransformforDirection(org.joml.Vector3i direction) static TransformforDirection(org.joml.Vector3i direction, boolean negativeY) Get a Mirror transform for the given axis direction.toString()
-
Field Details
-
X
-
Y
-
Z
-
-
Method Details
-
apply
-
toString
-
forAxis
-
forDirection
-
forDirection
Get a Mirror transform for the given axis direction.- Parameters:
direction- the axis direction vectornegativeY- a flag to control whether the negative-y (down) direction should be considered when determining the axis- Returns:
- the Mirror transform corresponding to the provided vector
-