Class Mirror

java.lang.Object
com.hypixel.hytale.builtin.buildertools.tooloperations.transform.Mirror
All Implemented Interfaces:
Transform

public class Mirror extends Object implements Transform
  • Field Details

  • Method Details

    • apply

      public void apply(@Nonnull org.joml.Vector3i vector3i)
      Specified by:
      apply in interface Transform
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object
    • forAxis

      public static Transform forAxis(BrushAxis axis)
    • forDirection

      public static Transform forDirection(@Nonnull org.joml.Vector3i direction)
    • forDirection

      public static Transform forDirection(@Nonnull org.joml.Vector3i direction, boolean negativeY)
      Get a Mirror transform for the given axis direction.
      Parameters:
      direction - the axis direction vector
      negativeY - 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