Package javax.vecmath
Class Matrix4f
java.lang.Object
javax.vecmath.Matrix4f
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public class Matrix4f
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Matrix4f()
Matrix4f(float[] floatArray)
Matrix4f(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, float float13, float float14, float float15, float float16)
Matrix4f(Matrix3f matrix3f, Vector3f vector3f, float float1)
Matrix4f(Matrix4d matrix4d)
Matrix4f(Matrix4f matrix4f)
Matrix4f(Quat4f quat4f, Vector3f vector3f, float float1)
-
Method Summary
Modifier and Type Method Description void
add(float float1)
void
add(float float1, Matrix4f matrix4f)
void
add(Matrix4f matrix4f)
void
add(Matrix4f matrix4f, Matrix4f matrix4f2)
java.lang.Object
clone()
float
determinant()
boolean
epsilonEquals(Matrix4f matrix4f, float float1)
boolean
equals(java.lang.Object object)
boolean
equals(Matrix4f matrix4f)
void
get(Matrix3d matrix3d)
void
get(Matrix3f matrix3f)
float
get(Matrix3f matrix3f, Vector3f vector3f)
void
get(Quat4f quat4f)
void
get(Vector3f vector3f)
void
getColumn(int int1, float[] floatArray)
void
getColumn(int int1, Vector4f vector4f)
float
getElement(int int1, int int2)
float
getM00()
float
getM01()
float
getM02()
float
getM03()
float
getM10()
float
getM11()
float
getM12()
float
getM13()
float
getM20()
float
getM21()
float
getM22()
float
getM23()
float
getM30()
float
getM31()
float
getM32()
float
getM33()
void
getRotationScale(Matrix3f matrix3f)
void
getRow(int int1, float[] floatArray)
void
getRow(int int1, Vector4f vector4f)
float
getScale()
int
hashCode()
void
invert()
void
invert(Matrix4f matrix4f)
void
mul(float float1)
void
mul(float float1, Matrix4f matrix4f)
void
mul(Matrix4f matrix4f)
void
mul(Matrix4f matrix4f, Matrix4f matrix4f2)
void
mulTransposeBoth(Matrix4f matrix4f, Matrix4f matrix4f2)
void
mulTransposeLeft(Matrix4f matrix4f, Matrix4f matrix4f2)
void
mulTransposeRight(Matrix4f matrix4f, Matrix4f matrix4f2)
void
negate()
void
negate(Matrix4f matrix4f)
void
rotX(float float1)
void
rotY(float float1)
void
rotZ(float float1)
void
set(float float1)
void
set(float[] floatArray)
void
set(float float1, Vector3f vector3f)
void
set(AxisAngle4d axisAngle4d)
void
set(AxisAngle4f axisAngle4f)
void
set(Matrix3d matrix3d)
void
set(Matrix3d matrix3d, Vector3d vector3d, double double1)
void
set(Matrix3f matrix3f)
void
set(Matrix3f matrix3f, Vector3f vector3f, float float1)
void
set(Matrix4d matrix4d)
void
set(Matrix4f matrix4f)
void
set(Quat4d quat4d)
void
set(Quat4d quat4d, Vector3d vector3d, double double1)
void
set(Quat4f quat4f)
void
set(Quat4f quat4f, Vector3f vector3f, float float1)
void
set(Vector3f vector3f)
void
set(Vector3f vector3f, float float1)
void
setColumn(int int1, float[] floatArray)
void
setColumn(int int1, float float1, float float2, float float3, float float4)
void
setColumn(int int1, Vector4f vector4f)
void
setElement(int int1, int int2, float float1)
void
setIdentity()
void
setM00(float float1)
void
setM01(float float1)
void
setM02(float float1)
void
setM03(float float1)
void
setM10(float float1)
void
setM11(float float1)
void
setM12(float float1)
void
setM13(float float1)
void
setM20(float float1)
void
setM21(float float1)
void
setM22(float float1)
void
setM23(float float1)
void
setM30(float float1)
void
setM31(float float1)
void
setM32(float float1)
void
setM33(float float1)
void
setRotation(AxisAngle4f axisAngle4f)
void
setRotation(Matrix3d matrix3d)
void
setRotation(Matrix3f matrix3f)
void
setRotation(Quat4d quat4d)
void
setRotation(Quat4f quat4f)
void
setRotationScale(Matrix3f matrix3f)
void
setRow(int int1, float[] floatArray)
void
setRow(int int1, float float1, float float2, float float3, float float4)
void
setRow(int int1, Vector4f vector4f)
void
setScale(float float1)
void
setTranslation(Vector3f vector3f)
void
setZero()
void
sub(Matrix4f matrix4f)
void
sub(Matrix4f matrix4f, Matrix4f matrix4f2)
java.lang.String
toString()
void
transform(Point3f point3f)
void
transform(Point3f point3f, Point3f point3f2)
void
transform(Tuple4f tuple4f)
void
transform(Tuple4f tuple4f, Tuple4f tuple4f2)
void
transform(Vector3f vector3f)
void
transform(Vector3f vector3f, Vector3f vector3f2)
void
transpose()
void
transpose(Matrix4f matrix4f)
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 -
m03
public float m03 -
m10
public float m10 -
m11
public float m11 -
m12
public float m12 -
m13
public float m13 -
m20
public float m20 -
m21
public float m21 -
m22
public float m22 -
m23
public float m23 -
m30
public float m30 -
m31
public float m31 -
m32
public float m32 -
m33
public float m33
-
-
Constructor Details
-
Matrix4f
public Matrix4f(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, float float13, float float14, float float15, float float16) -
Matrix4f
public Matrix4f(float[] floatArray) -
Matrix4f
-
Matrix4f
-
Matrix4f
-
Matrix4f
-
Matrix4f
public Matrix4f()
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setIdentity
public final void setIdentity() -
setElement
public final void setElement(int int1, int int2, float float1) -
getElement
public final float getElement(int int1, int int2) -
getRow
-
getRow
public final void getRow(int int1, float[] floatArray) -
getColumn
-
getColumn
public final void getColumn(int int1, float[] floatArray) -
setScale
public final void setScale(float float1) -
get
-
get
-
get
-
get
-
get
-
getRotationScale
-
getScale
public final float getScale() -
setRotationScale
-
setRow
public final void setRow(int int1, float float1, float float2, float float3, float float4) -
setRow
-
setRow
public final void setRow(int int1, float[] floatArray) -
setColumn
public final void setColumn(int int1, float float1, float float2, float float3, float float4) -
setColumn
-
setColumn
public final void setColumn(int int1, float[] floatArray) -
add
public final void add(float float1) -
add
-
add
-
add
-
sub
-
sub
-
transpose
public final void transpose() -
transpose
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
invert
-
invert
public final void invert() -
determinant
public final float determinant() -
set
-
set
-
set
public final void set(float float1) -
set
public final void set(float[] floatArray) -
set
-
set
-
set
-
set
-
set
-
setTranslation
-
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
-
mulTransposeBoth
-
mulTransposeRight
-
mulTransposeLeft
-
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
-
transform
-
transform
-
transform
-
transform
-
transform
-
transform
-
setRotation
-
setRotation
-
setRotation
-
setRotation
-
setRotation
-
setZero
public final void setZero() -
negate
public final void negate() -
negate
-
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) -
getM03
public final float getM03() -
setM03
public final void setM03(float float1) -
getM13
public final float getM13() -
setM13
public final void setM13(float float1) -
getM23
public final float getM23() -
setM23
public final void setM23(float float1) -
getM30
public final float getM30() -
setM30
public final void setM30(float float1) -
getM31
public final float getM31() -
setM31
public final void setM31(float float1) -
getM32
public final float getM32() -
setM32
public final void setM32(float float1) -
getM33
public final float getM33() -
setM33
public final void setM33(float float1)
-