Package javax.vecmath
Class Matrix3f
java.lang.Object
javax.vecmath.Matrix3f
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public class Matrix3f
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description void
add(float float1)
void
add(float float1, Matrix3f matrix3f)
void
add(Matrix3f matrix3f)
void
add(Matrix3f matrix3f, Matrix3f matrix3f2)
java.lang.Object
clone()
float
determinant()
boolean
epsilonEquals(Matrix3f matrix3f, float float1)
boolean
equals(java.lang.Object object)
boolean
equals(Matrix3f matrix3f)
void
getColumn(int int1, float[] floatArray)
void
getColumn(int int1, Vector3f vector3f)
float
getElement(int int1, int int2)
float
getM00()
float
getM01()
float
getM02()
float
getM10()
float
getM11()
float
getM12()
float
getM20()
float
getM21()
float
getM22()
void
getRow(int int1, float[] floatArray)
void
getRow(int int1, Vector3f vector3f)
float
getScale()
int
hashCode()
void
invert()
void
invert(Matrix3f matrix3f)
void
mul(float float1)
void
mul(float float1, Matrix3f matrix3f)
void
mul(Matrix3f matrix3f)
void
mul(Matrix3f matrix3f, Matrix3f matrix3f2)
void
mulNormalize(Matrix3f matrix3f)
void
mulNormalize(Matrix3f matrix3f, Matrix3f matrix3f2)
void
mulTransposeBoth(Matrix3f matrix3f, Matrix3f matrix3f2)
void
mulTransposeLeft(Matrix3f matrix3f, Matrix3f matrix3f2)
void
mulTransposeRight(Matrix3f matrix3f, Matrix3f matrix3f2)
void
negate()
void
negate(Matrix3f matrix3f)
void
normalize()
void
normalize(Matrix3f matrix3f)
void
normalizeCP()
void
normalizeCP(Matrix3f matrix3f)
void
rotX(float float1)
void
rotY(float float1)
void
rotZ(float float1)
void
set(float float1)
void
set(float[] floatArray)
void
set(AxisAngle4d axisAngle4d)
void
set(AxisAngle4f axisAngle4f)
void
set(Matrix3d matrix3d)
void
set(Matrix3f matrix3f)
void
set(Quat4d quat4d)
void
set(Quat4f quat4f)
void
setColumn(int int1, float[] floatArray)
void
setColumn(int int1, float float1, float float2, float float3)
void
setColumn(int int1, Vector3f vector3f)
void
setElement(int int1, int int2, float float1)
void
setIdentity()
void
setM00(float float1)
void
setM01(float float1)
void
setM02(float float1)
void
setM10(float float1)
void
setM11(float float1)
void
setM12(float float1)
void
setM20(float float1)
void
setM21(float float1)
void
setM22(float float1)
void
setRow(int int1, float[] floatArray)
void
setRow(int int1, float float1, float float2, float float3)
void
setRow(int int1, Vector3f vector3f)
void
setScale(float float1)
void
setZero()
void
sub(Matrix3f matrix3f)
void
sub(Matrix3f matrix3f, Matrix3f matrix3f2)
java.lang.String
toString()
void
transform(Tuple3f tuple3f)
void
transform(Tuple3f tuple3f, Tuple3f tuple3f2)
void
transpose()
void
transpose(Matrix3f matrix3f)
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
m00
public float m00 -
m01
public float m01 -
m02
public float m02 -
m10
public float m10 -
m11
public float m11 -
m12
public float m12 -
m20
public float m20 -
m21
public float m21 -
m22
public float m22
-
-
Constructor Details
-
Matrix3f
public Matrix3f(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9) -
Matrix3f
public Matrix3f(float[] floatArray) -
Matrix3f
-
Matrix3f
-
Matrix3f
public Matrix3f()
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setIdentity
public final void setIdentity() -
setScale
public final void setScale(float float1) -
setElement
public final void setElement(int int1, int int2, float float1) -
getRow
-
getRow
public final void getRow(int int1, float[] floatArray) -
getColumn
-
getColumn
public final void getColumn(int int1, float[] floatArray) -
getElement
public final float getElement(int int1, int int2) -
setRow
public final void setRow(int int1, float float1, float float2, float float3) -
setRow
-
setRow
public final void setRow(int int1, float[] floatArray) -
setColumn
public final void setColumn(int int1, float float1, float float2, float float3) -
setColumn
-
setColumn
public final void setColumn(int int1, float[] floatArray) -
getScale
public final float getScale() -
add
public final void add(float float1) -
add
-
add
-
add
-
sub
-
sub
-
transpose
public final void transpose() -
transpose
-
set
-
set
-
set
-
set
-
set
public final void set(float[] floatArray) -
set
-
set
-
invert
-
invert
public final void invert() -
determinant
public final float determinant() -
set
public final void set(float float1) -
rotX
public final void rotX(float float1) -
rotY
public final void rotY(float float1) -
rotZ
public final void rotZ(float float1) -
mul
public final void mul(float float1) -
mul
-
mul
-
mul
-
mulNormalize
-
mulNormalize
-
mulTransposeBoth
-
mulTransposeRight
-
mulTransposeLeft
-
normalize
public final void normalize() -
normalize
-
normalizeCP
public final void normalizeCP() -
normalizeCP
-
equals
-
equals
public boolean equals(java.lang.Object object)- Overrides:
equals
in classjava.lang.Object
-
epsilonEquals
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
setZero
public final void setZero() -
negate
public final void negate() -
negate
-
transform
-
transform
-
clone
public java.lang.Object clone()- Overrides:
clone
in classjava.lang.Object
-
getM00
public final float getM00() -
setM00
public final void setM00(float float1) -
getM01
public final float getM01() -
setM01
public final void setM01(float float1) -
getM02
public final float getM02() -
setM02
public final void setM02(float float1) -
getM10
public final float getM10() -
setM10
public final void setM10(float float1) -
getM11
public final float getM11() -
setM11
public final void setM11(float float1) -
getM12
public final float getM12() -
setM12
public final void setM12(float float1) -
getM20
public final float getM20() -
setM20
public final void setM20(float float1) -
getM21
public final float getM21() -
setM21
public final void setM21(float float1) -
getM22
public final float getM22() -
setM22
public final void setM22(float float1)
-