Class Vector

java.lang.Object
eu.sculkpowered.server.world.Vector

public final class Vector extends Object
  • Constructor Details

    • Vector

      public Vector(double x, double y, double z)
  • Method Details

    • x

      public double x()
    • y

      public double y()
    • z

      public double z()
    • multiply

      @NotNull public @NotNull Vector multiply(double multiplier)
    • multiply

      @NotNull public @NotNull Vector multiply(Vector vector)
    • normalize

      @NotNull public @NotNull Vector normalize()
    • length

      public double length()
    • zero

      public static Vector zero()
    • toString

      public String toString()
      Overrides:
      toString in class Object