|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.java.dev.joode.util.Real
net.java.dev.joode.util.Matrix
net.java.dev.joode.util.Matrix3
public class Matrix3
| Field Summary |
|---|
| Fields inherited from class net.java.dev.joode.util.Real |
|---|
m |
| Constructor Summary | |
|---|---|
Matrix3()
|
|
| Method Summary | |
|---|---|
static Matrix3 |
aquireInstance()
gets a pooled instance. |
static boolean |
epsilonEquals(Matrix3 a,
Matrix3 b,
float e)
|
static void |
releaseInstance(Matrix3 instance)
returns a matrix into the object pool for a caller of aquireInstance. |
void |
setIdentity()
|
static Matrix3 |
setRandomRotationMatrix(Matrix3 result)
Creates a random rotation matrix |
static void |
setRotationX(Matrix3 qrel,
float theta)
set the matrix to be a rotation about the z axis by an amount theta |
static void |
setRotationY(Matrix3 qrel,
float theta)
set the passed in matrix to be a rotation about the y axis by theta radians |
static void |
setRotationZ(Matrix3 qrel,
float theta)
set the matrix to be a rotation about the z axis by an amount theta |
| Methods inherited from class net.java.dev.joode.util.Matrix |
|---|
aquireInstance, epsilonEquals, get, getColumn, getColumn, getColumns, getRow, getRows, mul, mul, mul, mulInc, mulTranspose, mulTranspose, releaseInstance, set, setColumn, setRow, solve, toString, transpose, transposeMul, transposeMul, transposeMul |
| Methods inherited from class net.java.dev.joode.util.Real |
|---|
add, aquireDirtyInstance, aquireInstance, dot, dot, epsilonEquals, epsilonEquals, fill, get, length, lengthSquared, max, min, norm, normalize, releaseInstance, scale, set, set, setZero, size, sub |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Matrix3()
| Method Detail |
|---|
public static Matrix3 aquireInstance()
public static void releaseInstance(Matrix3 instance)
public void setIdentity()
setIdentity in class Matrix
public static boolean epsilonEquals(Matrix3 a,
Matrix3 b,
float e)
public static void setRotationZ(Matrix3 qrel,
float theta)
qrel -
public static void setRotationX(Matrix3 qrel,
float theta)
qrel -
public static void setRotationY(Matrix3 qrel,
float theta)
qrel - public static Matrix3 setRandomRotationMatrix(Matrix3 result)
result -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||