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 Matrix2fadd(Matrix2f matrix2f, Matrix2f matrix2f2, Matrix2f matrix2f3)floatdeterminant()Matrixinvert()static Matrix2finvert(Matrix2f matrix2f, Matrix2f matrix2f2)Matrixload(java.nio.FloatBuffer floatBuffer)Matrix2fload(Matrix2f matrix2f)static Matrix2fload(Matrix2f matrix2f, Matrix2f matrix2f2)MatrixloadTranspose(java.nio.FloatBuffer floatBuffer)static Matrix2fmul(Matrix2f matrix2f, Matrix2f matrix2f2, Matrix2f matrix2f3)Matrixnegate()Matrix2fnegate(Matrix2f matrix2f)static Matrix2fnegate(Matrix2f matrix2f, Matrix2f matrix2f2)MatrixsetIdentity()static Matrix2fsetIdentity(Matrix2f matrix2f)MatrixsetZero()static Matrix2fsetZero(Matrix2f matrix2f)Matrixstore(java.nio.FloatBuffer floatBuffer)MatrixstoreTranspose(java.nio.FloatBuffer floatBuffer)static Matrix2fsub(Matrix2f matrix2f, Matrix2f matrix2f2, Matrix2f matrix2f3)java.lang.StringtoString()static Vector2ftransform(Matrix2f matrix2f, Vector2f vector2f, Vector2f vector2f2)Matrixtranspose()Matrix2ftranspose(Matrix2f matrix2f)static Matrix2ftranspose(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:
loadTransposein classMatrix
-
store
-
storeTranspose
- Specified by:
storeTransposein classMatrix
-
add
-
sub
-
mul
-
transform
-
transpose
-
transpose
-
transpose
-
invert
-
invert
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
negate
-
negate
-
negate
-
setIdentity
- Specified by:
setIdentityin classMatrix
-
setIdentity
-
setZero
-
setZero
-
determinant
public float determinant()- Specified by:
determinantin classMatrix
-