Klasse MathUtils

java.lang.Object
gollorum.signpost.utils.math.MathUtils

public class MathUtils extends Object
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    static int
    clamp(int value, int min, int max)
     
    static float
    lerp(float from, float to, float progress)
     
    static int
    lerp(int from, int to, float progress)
     

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • MathUtils

      public MathUtils()
  • Methodendetails

    • lerp

      public static float lerp(float from, float to, float progress)
    • lerp

      public static int lerp(int from, int to, float progress)
    • clamp

      public static int clamp(int value, int min, int max)