Class Matrix
java.lang.Object
|
+--Matrix
- public class Matrix
- extends java.lang.Object
Matrix represent and provides operations on 4 by 4 matrices.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Matrix
public Matrix()
Matrix
public Matrix(Matrix mm)
setToIdentity
public void setToIdentity()
multiplyMatrix
public void multiplyMatrix(Matrix m1,
Matrix m2)
setToTranslation
public void setToTranslation(Vector v)
setToScaling
public void setToScaling(Vector v)
setToXRotation
public void setToXRotation(double a)
setToYRotation
public void setToYRotation(double a)
setToZRotation
public void setToZRotation(double a)
setValue
public void setValue(int x,
int y,
double v)
getValue
public double getValue(int x,
int y)