Class Trigonometry

java.lang.Object
de.gurkenlabs.litiengine.util.geom.Trigonometry

public final class Trigonometry
extends java.lang.Object
  • Method Summary

    Modifier and TypeMethodDescription
    static floatatan2​(float y, float x) 
    static floatatan2Deg​(float y, float x) 
    static floatatan2DegStrict​(float y, float x) 
    static floatcos​(float rad) 
    static floatcosDeg​(float deg) 
    static floatsin​(float rad) 
    static floatsinDeg​(float deg) 

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • atan2

      public static final float atan2​(float y, float x)
    • atan2Deg

      public static final float atan2Deg​(float y, float x)
    • atan2DegStrict

      public static final float atan2DegStrict​(float y, float x)
    • cos

      public static final float cos​(float rad)
    • cosDeg

      public static final float cosDeg​(float deg)
    • sin

      public static final float sin​(float rad)
    • sinDeg

      public static final float sinDeg​(float deg)