com.etymon.pj.util
Class TMatrix
java.lang.Object
com.etymon.pj.util.TMatrix
public class TMatrix
- extends java.lang.Object
Method Summary |
static float[][] |
clone(float[][] m)
|
static float[][] |
init()
Returns a new transformation matrix, initialized to the identity matrix. |
static float[][] |
multiply(float[][] a,
float[][] b)
|
static float[][] |
toMatrix(float x,
float y)
|
static float[][] |
toMatrix(float a,
float b,
float c,
float d,
float x,
float y)
|
static java.lang.String |
toString(float[][] m)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IDENTITY
public static float[][] IDENTITY
TMatrix
public TMatrix()
init
public static float[][] init()
- Returns a new transformation matrix, initialized to the identity matrix.
toString
public static java.lang.String toString(float[][] m)
toMatrix
public static float[][] toMatrix(float a,
float b,
float c,
float d,
float x,
float y)
clone
public static float[][] clone(float[][] m)
toMatrix
public static float[][] toMatrix(float x,
float y)
multiply
public static float[][] multiply(float[][] a,
float[][] b)