Package org.lwjglx.util.vector
Class Matrix4f
java.lang.Object
org.lwjglx.util.vector.Matrix
org.lwjglx.util.vector.Matrix4f
- All Implemented Interfaces:
java.io.Serializable
public class Matrix4f extends Matrix implements java.io.Serializable
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description static Matrix4f
add(Matrix4f matrix4f, Matrix4f matrix4f2, Matrix4f matrix4f3)
float
determinant()
Matrix
invert()
static Matrix4f
invert(Matrix4f matrix4f, Matrix4f matrix4f2)
Matrix
load(java.nio.FloatBuffer floatBuffer)
Matrix4f
load(Matrix4f matrix4f)
static Matrix4f
load(Matrix4f matrix4f, Matrix4f matrix4f2)
Matrix
loadTranspose(java.nio.FloatBuffer floatBuffer)
static Matrix4f
mul(Matrix4f matrix4f, Matrix4f matrix4f2, Matrix4f matrix4f3)
Matrix
negate()
Matrix4f
negate(Matrix4f matrix4f)
static Matrix4f
negate(Matrix4f matrix4f, Matrix4f matrix4f2)
Matrix4f
rotate(float float1, Vector3f vector3f)
Matrix4f
rotate(float float1, Vector3f vector3f, Matrix4f matrix4f)
static Matrix4f
rotate(float float1, Vector3f vector3f, Matrix4f matrix4f, Matrix4f matrix4f2)
Matrix4f
scale(Vector3f vector3f)
static Matrix4f
scale(Vector3f vector3f, Matrix4f matrix4f, Matrix4f matrix4f2)
Matrix
setIdentity()
static Matrix4f
setIdentity(Matrix4f matrix4f)
Matrix
setZero()
static Matrix4f
setZero(Matrix4f matrix4f)
Matrix
store(java.nio.FloatBuffer floatBuffer)
Matrix
store3f(java.nio.FloatBuffer floatBuffer)
Matrix
storeTranspose(java.nio.FloatBuffer floatBuffer)
static Matrix4f
sub(Matrix4f matrix4f, Matrix4f matrix4f2, Matrix4f matrix4f3)
java.lang.String
toString()
static Vector4f
transform(Matrix4f matrix4f, Vector4f vector4f, Vector4f vector4f2)
Matrix4f
translate(Vector2f vector2f)
Matrix4f
translate(Vector2f vector2f, Matrix4f matrix4f)
static Matrix4f
translate(Vector2f vector2f, Matrix4f matrix4f, Matrix4f matrix4f2)
Matrix4f
translate(Vector3f vector3f)
Matrix4f
translate(Vector3f vector3f, Matrix4f matrix4f)
static Matrix4f
translate(Vector3f vector3f, Matrix4f matrix4f, Matrix4f matrix4f2)
Matrix
transpose()
Matrix4f
transpose(Matrix4f matrix4f)
static Matrix4f
transpose(Matrix4f matrix4f, Matrix4f matrix4f2)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, 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() -
Matrix4f
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setIdentity
- Specified by:
setIdentity
in classMatrix
-
setIdentity
-
setZero
-
setZero
-
load
-
load
-
load
-
loadTranspose
- Specified by:
loadTranspose
in classMatrix
-
store
-
storeTranspose
- Specified by:
storeTranspose
in classMatrix
-
store3f
-
add
-
sub
-
mul
-
transform
-
transpose
-
translate
-
translate
-
scale
-
scale
-
rotate
-
rotate
-
rotate
-
translate
-
translate
-
translate
-
translate
-
transpose
-
transpose
-
determinant
public float determinant()- Specified by:
determinant
in classMatrix
-
invert
-
invert
-
negate
-
negate
-
negate
-