Class MathL

java.lang.Object
dev.esophose.playerparticles.util.MathL

public final class MathL
extends java.lang.Object
Credit goes to Riven from this thread: http://www.java-gaming.org/topics/extremely-fast-sine-cosine/36469/view.html
  • Constructor Summary

    Constructors 
    Constructor Description
    MathL()  
  • Method Summary

    Modifier and Type Method Description
    static double cos​(double rad)  
    static double sin​(double rad)  

    Methods inherited from class java.lang.Object

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

  • Method Details

    • sin

      public static double sin​(double rad)
    • cos

      public static double cos​(double rad)