Package org.joml
Class Matrix2f
java.lang.Object
org.joml.Matrix2f
- All Implemented Interfaces:
Externalizable,Serializable,Matrix2fc
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatbooleanbooleanfloat[]get(float[] floatArray) float[]get(float[] floatArray, int int1) floatget(int int1, int int2) get(int int1, ByteBuffer byteBuffer) get(int int1, FloatBuffer floatBuffer) get(ByteBuffer byteBuffer) get(FloatBuffer floatBuffer) get(Matrix3x2f matrix3x2f) floatgetToAddress(long long1) getTransposed(int int1, ByteBuffer byteBuffer) getTransposed(int int1, FloatBuffer floatBuffer) getTransposed(ByteBuffer byteBuffer) getTransposed(FloatBuffer floatBuffer) inthashCode()identity()invert()booleanisFinite()floatm00()m00(float float1) floatm01()m01(float float1) floatm10()m10(float float1) floatm11()m11(float float1) mulComponentWise(Matrix2fc matrix2fc) mulComponentWise(Matrix2fc matrix2fc, Matrix2f matrix2f) normal()normalizedPositiveX(Vector2f vector2f) normalizedPositiveY(Vector2f vector2f) voidreadExternal(ObjectInput objectInput) rotate(float float1) rotateLocal(float float1) rotateLocal(float float1, Matrix2f matrix2f) rotation(float float1) scale(float float1) scale(float float1, float float2) scaleLocal(float float1, float float2) scaleLocal(float float1, float float2, Matrix2f matrix2f) scaling(float float1) scaling(float float1, float float2) set(float[] floatArray) set(float float1, float float2, float float3, float float4) set(int int1, int int2, float float1) set(ByteBuffer byteBuffer) set(FloatBuffer floatBuffer) set(Matrix3x2fc matrix3x2fc) setColumn(int int1, float float1, float float2) setFromAddress(long long1) setRow(int int1, float float1, float float2) toString()toString(NumberFormat numberFormat) transformTranspose(float float1, float float2, Vector2f vector2f) transformTranspose(Vector2f vector2f) transformTranspose(Vector2fc vector2fc, Vector2f vector2f) voidwriteExternal(ObjectOutput objectOutput) 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 float1, float float2, float float3, float float4) -
Matrix2f
-
Matrix2f
-
-
Method Details
-
m00
public float m00() -
m01
public float m01() -
m10
public float m10() -
m11
public float m11() -
m00
-
m01
-
m10
-
m11
-
set
-
set
-
set
-
mul
-
mul
-
mulLocal
-
mulLocal
-
set
-
set
-
set
-
determinant
public float determinant()- Specified by:
determinantin interfaceMatrix2fc
-
invert
-
invert
-
transpose
-
transpose
-
toString
-
toString
-
get
-
get
-
get
-
getRotation
public float getRotation()- Specified by:
getRotationin interfaceMatrix2fc
-
get
-
get
-
get
-
get
-
getTransposed
- Specified by:
getTransposedin interfaceMatrix2fc
-
getTransposed
- Specified by:
getTransposedin interfaceMatrix2fc
-
getTransposed
- Specified by:
getTransposedin interfaceMatrix2fc
-
getTransposed
- Specified by:
getTransposedin interfaceMatrix2fc
-
getToAddress
- Specified by:
getToAddressin interfaceMatrix2fc
-
get
public float[] get(float[] floatArray, int int1) -
get
public float[] get(float[] floatArray) -
set
-
set
-
setFromAddress
-
zero
-
identity
-
scale
-
scale
-
scale
-
scale
-
scale
-
scale
-
scaleLocal
- Specified by:
scaleLocalin interfaceMatrix2fc
-
scaleLocal
-
scaling
-
scaling
-
scaling
-
rotation
-
transform
-
transform
-
transform
-
transformTranspose
- Specified by:
transformTransposein interfaceMatrix2fc
-
transformTranspose
- Specified by:
transformTransposein interfaceMatrix2fc
-
transformTranspose
- Specified by:
transformTransposein interfaceMatrix2fc
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOException
-
rotate
-
rotate
-
rotateLocal
-
rotateLocal
- Specified by:
rotateLocalin interfaceMatrix2fc
-
getRow
- Specified by:
getRowin interfaceMatrix2fc- Throws:
IndexOutOfBoundsException
-
setRow
- Throws:
IndexOutOfBoundsException
-
setRow
- Throws:
IndexOutOfBoundsException
-
getColumn
- Specified by:
getColumnin interfaceMatrix2fc- Throws:
IndexOutOfBoundsException
-
setColumn
- Throws:
IndexOutOfBoundsException
-
setColumn
- Throws:
IndexOutOfBoundsException
-
get
public float get(int int1, int int2) -
set
-
normal
-
normal
-
getScale
-
positiveX
-
normalizedPositiveX
- Specified by:
normalizedPositiveXin interfaceMatrix2fc
-
positiveY
-
normalizedPositiveY
- Specified by:
normalizedPositiveYin interfaceMatrix2fc
-
hashCode
public int hashCode() -
equals
-
equals
-
swap
-
add
-
add
-
sub
-
sub
-
mulComponentWise
-
mulComponentWise
- Specified by:
mulComponentWisein interfaceMatrix2fc
-
lerp
-
lerp
-
isFinite
public boolean isFinite()
-