|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.robrohan.ruin.math3d.Generic3dMatrix
A generic 3d matrix class that implements rotation about the principal axis, translation, and scaling
Constructor Summary | |
Generic3dMatrix()
Creates a new instance of fGeneric3dMatrix |
Method Summary | |
void |
concatRx(double ax)
multiplies a rotation about the X-axis i.e. |
void |
concatRy(double ay)
multiplies a rotation about the Y-axis i.e. |
void |
concatRz(double az)
multiplies a rotation about the Z-axis i.e. |
void |
concatS(double sx,
double sy,
double sz)
multiplies scaling |
void |
concatT(double x,
double y,
double z)
multiplies a transform |
void |
makeIdentity()
creates or resets the matrix |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Generic3dMatrix()
Method Detail |
public void makeIdentity()
public void concatRz(double az)
public void concatRy(double ay)
public void concatRx(double ax)
public void concatT(double x, double y, double z)
public void concatS(double sx, double sy, double sz)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |