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