|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.newdawn.slick.util.FastTrig
public class FastTrig
Utility to handle Java's odd trig performance issues
| Constructor Summary | |
|---|---|
FastTrig()
|
|
| Method Summary | |
|---|---|
static double |
cos(double radians)
Get the cosine of an angle |
static double |
sin(double radians)
Get the sine of an angle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FastTrig()
| Method Detail |
|---|
public static double sin(double radians)
radians - The angle
public static double cos(double radians)
radians - The angle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||