Class Matrix2f
java.lang.Object
org.joml.Matrix2f
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
boolean
boolean
float[]
get
(float[] floats) float[]
get
(float[] floats, int int0) float
get
(int arg0, int arg1) get
(int arg0, ByteBuffer arg1) get
(int arg0, FloatBuffer arg1) get
(ByteBuffer arg0) get
(FloatBuffer arg0) get
(Matrix3x2f arg0) float
getToAddress
(long arg0) getTransposed
(int arg0, ByteBuffer arg1) getTransposed
(int arg0, FloatBuffer arg1) getTransposed
(ByteBuffer arg0) getTransposed
(FloatBuffer arg0) int
hashCode()
identity()
invert()
boolean
isFinite()
float
m00()
m00
(float arg0) float
m01()
m01
(float arg0) float
m10()
m10
(float arg0) float
m11()
m11
(float arg0) mulComponentWise
(Matrix2fc arg0) mulComponentWise
(Matrix2fc arg0, Matrix2f arg1) normal()
normalizedPositiveX
(Vector2f arg0) normalizedPositiveY
(Vector2f arg0) void
readExternal
(ObjectInput arg0) rotate
(float arg0) rotateLocal
(float arg0) rotateLocal
(float arg0, Matrix2f arg1) rotation
(float arg0) scale
(float arg0) scale
(float arg0, float arg1) scaleLocal
(float arg0, float arg1) scaleLocal
(float arg0, float arg1, Matrix2f arg2) scaling
(float arg0) scaling
(float arg0, float arg1) set
(float[] floats) set
(float arg0, float arg1, float arg2, float arg3) set
(int arg0, int arg1, float arg2) set
(ByteBuffer arg0) set
(FloatBuffer arg0) set
(Matrix3x2fc arg0) setColumn
(int arg0, float arg1, float arg2) setFromAddress
(long arg0) setRow
(int arg0, float arg1, float arg2) toString()
toString
(NumberFormat numberFormat) transformTranspose
(float arg0, float arg1, Vector2f arg2) transformTranspose
(Vector2f arg0) transformTranspose
(Vector2fc arg0, Vector2f arg1) void
writeExternal
(ObjectOutput arg0) zero()
-
Field Details
-
m00
public float m00 -
m01
public float m01 -
m10
public float m10 -
m11
public float m11
-
-
Constructor Details
-
Matrix2f
public Matrix2f() -
Matrix2f
-
Matrix2f
-
Matrix2f
public Matrix2f(float arg0, float arg1, float arg2, float arg3) -
Matrix2f
-
Matrix2f
-
-
Method Details
-
m00
-
m01
-
m10
-
m11
-
m00
-
m01
-
m10
-
m11
-
set
-
set
-
set
-
mul
-
mul
-
mulLocal
-
mulLocal
-
set
-
set
-
set
-
determinant
public float determinant()- Specified by:
determinant
in interfaceMatrix2fc
-
invert
-
invert
-
transpose
-
transpose
-
toString
-
toString
-
get
-
get
-
get
-
getRotation
public float getRotation()- Specified by:
getRotation
in interfaceMatrix2fc
-
get
-
get
-
get
-
get
-
getTransposed
- Specified by:
getTransposed
in interfaceMatrix2fc
-
getTransposed
- Specified by:
getTransposed
in interfaceMatrix2fc
-
getTransposed
- Specified by:
getTransposed
in interfaceMatrix2fc
-
getTransposed
- Specified by:
getTransposed
in interfaceMatrix2fc
-
getToAddress
- Specified by:
getToAddress
in interfaceMatrix2fc
-
get
-
get
-
set
-
set
-
setFromAddress
-
zero
-
identity
-
scale
-
scale
-
scale
-
scale
-
scale
-
scale
-
scaleLocal
- Specified by:
scaleLocal
in interfaceMatrix2fc
-
scaleLocal
-
scaling
-
scaling
-
scaling
-
rotation
-
transform
-
transform
-
transform
-
transformTranspose
- Specified by:
transformTranspose
in interfaceMatrix2fc
-
transformTranspose
- Specified by:
transformTranspose
in interfaceMatrix2fc
-
transformTranspose
- Specified by:
transformTranspose
in interfaceMatrix2fc
-
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
-
rotate
-
rotate
-
rotateLocal
-
rotateLocal
- Specified by:
rotateLocal
in interfaceMatrix2fc
-
getRow
- Specified by:
getRow
in interfaceMatrix2fc
- Throws:
IndexOutOfBoundsException
-
setRow
- Throws:
IndexOutOfBoundsException
-
setRow
- Throws:
IndexOutOfBoundsException
-
getColumn
- Specified by:
getColumn
in interfaceMatrix2fc
- Throws:
IndexOutOfBoundsException
-
setColumn
- Throws:
IndexOutOfBoundsException
-
setColumn
- Throws:
IndexOutOfBoundsException
-
get
-
set
-
normal
-
normal
-
getScale
-
positiveX
-
normalizedPositiveX
- Specified by:
normalizedPositiveX
in interfaceMatrix2fc
-
positiveY
-
normalizedPositiveY
- Specified by:
normalizedPositiveY
in interfaceMatrix2fc
-
hashCode
-
equals
-
equals
-
swap
-
add
-
add
-
sub
-
sub
-
mulComponentWise
-
mulComponentWise
- Specified by:
mulComponentWise
in interfaceMatrix2fc
-
lerp
-
lerp
-
isFinite
-