Package org.lwjglx.util.vector
Class Matrix3f
java.lang.Object
org.lwjglx.util.vector.Matrix
org.lwjglx.util.vector.Matrix3f
- All Implemented Interfaces:
java.io.Serializable
public class Matrix3f extends Matrix implements java.io.Serializable
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Matrix3f()
-
Method Summary
Modifier and Type Method Description static Matrix3f
add(Matrix3f matrix3f, Matrix3f matrix3f2, Matrix3f matrix3f3)
float
determinant()
Matrix
invert()
static Matrix3f
invert(Matrix3f matrix3f, Matrix3f matrix3f2)
Matrix
load(java.nio.FloatBuffer floatBuffer)
Matrix3f
load(Matrix3f matrix3f)
static Matrix3f
load(Matrix3f matrix3f, Matrix3f matrix3f2)
Matrix
loadTranspose(java.nio.FloatBuffer floatBuffer)
static Matrix3f
mul(Matrix3f matrix3f, Matrix3f matrix3f2, Matrix3f matrix3f3)
Matrix
negate()
Matrix3f
negate(Matrix3f matrix3f)
static Matrix3f
negate(Matrix3f matrix3f, Matrix3f matrix3f2)
Matrix
setIdentity()
static Matrix3f
setIdentity(Matrix3f matrix3f)
Matrix
setZero()
static Matrix3f
setZero(Matrix3f matrix3f)
Matrix
store(java.nio.FloatBuffer floatBuffer)
Matrix
storeTranspose(java.nio.FloatBuffer floatBuffer)
static Matrix3f
sub(Matrix3f matrix3f, Matrix3f matrix3f2, Matrix3f matrix3f3)
java.lang.String
toString()
static Vector3f
transform(Matrix3f matrix3f, Vector3f vector3f, Vector3f vector3f2)
Matrix
transpose()
Matrix3f
transpose(Matrix3f matrix3f)
static Matrix3f
transpose(Matrix3f matrix3f, Matrix3f matrix3f2)
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 -
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()
-
-
Method Details
-
load
-
load
-
load
-
loadTranspose
- Specified by:
loadTranspose
in classMatrix
-
store
-
storeTranspose
- Specified by:
storeTranspose
in classMatrix
-
add
-
sub
-
mul
-
transform
-
transpose
-
transpose
-
transpose
-
determinant
public float determinant()- Specified by:
determinant
in classMatrix
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
invert
-
invert
-
negate
-
negate
-
negate
-
setIdentity
- Specified by:
setIdentity
in classMatrix
-
setIdentity
-
setZero
-
setZero
-