Interface Vec.Operator

Enclosing class:
Vec
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Vec.Operator
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Vec.Operator
    Checks each axis' value, if it's below Vec#EPSILON then it gets replaced with 0
    static final Vec.Operator
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Vec
    apply(double x, double y, double z)
     
  • Field Details

    • EPSILON

      static final Vec.Operator EPSILON
      Checks each axis' value, if it's below Vec#EPSILON then it gets replaced with 0
    • FLOOR

      static final Vec.Operator FLOOR
  • Method Details

    • apply

      @NotNull @NotNull Vec apply(double x, double y, double z)