Package com.jhlabs.vecmath
Class Matrix4f
- java.lang.Object
-
- com.jhlabs.vecmath.Matrix4f
-
public class Matrix4f extends java.lang.Object
Vector math package, converted to look similar to javax.vecmath.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
get(float[] m)
void
get(Matrix4f m)
void
invert()
void
invert(Matrix4f t)
void
mul(Matrix4f m)
void
rotX(float angle)
void
rotY(float angle)
void
rotZ(float angle)
void
set(float scale)
void
set(float[] m)
void
set(AxisAngle4f a)
void
set(Matrix4f m)
void
set(Quat4f q)
void
setIdentity()
void
setTranslation(Vector3f v)
void
transform(Point3f v)
void
transform(Vector3f v)
-
-
-
Field Detail
-
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 Detail
-
Matrix4f
public Matrix4f()
-
Matrix4f
public Matrix4f(Matrix4f m)
-
Matrix4f
public Matrix4f(float[] m)
-
-
Method Detail
-
set
public void set(Matrix4f m)
-
set
public void set(float[] m)
-
get
public void get(Matrix4f m)
-
get
public void get(float[] m)
-
setIdentity
public void setIdentity()
-
mul
public void mul(Matrix4f m)
-
invert
public void invert()
-
invert
public void invert(Matrix4f t)
-
set
public void set(AxisAngle4f a)
-
set
public void set(Quat4f q)
-
transform
public void transform(Point3f v)
-
transform
public void transform(Vector3f v)
-
setTranslation
public void setTranslation(Vector3f v)
-
set
public void set(float scale)
-
rotX
public void rotX(float angle)
-
rotY
public void rotY(float angle)
-
rotZ
public void rotZ(float angle)
-
-