|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.vodafone.v10.graphics.j3d.Util3D
Utility class.
Method Summary | |
static int |
cos(int a)
Calculates cosine. |
static int |
sin(int a)
Calculates sine. |
static int |
sqrt(int x)
Calculates a square root. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static final int sqrt(int x)
x
- The value to be calculatedIllegalArgumentException
- if x is negative.IllegalStateException
- if called during sprite execution.public static final int sin(int a)
a
- Angle (4096 segments)IllegalStateException
- if called during sprite execution.public static final int cos(int a)
a
- Angle (4096 segments)IllegalStateException
- if called during sprite execution.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |