Package org.joml
Class Matrix3x2f
java.lang.Object
org.joml.Matrix3x2f
- All Implemented Interfaces:
java.io.Externalizable
,java.io.Serializable
,Matrix3x2fc
- Direct Known Subclasses:
Matrix3x2fStack
public class Matrix3x2f extends java.lang.Object implements Matrix3x2fc, java.io.Externalizable
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Matrix3x2f()
Matrix3x2f(float float1, float float2, float float3, float float4, float float5, float float6)
Matrix3x2f(java.nio.FloatBuffer floatBuffer)
Matrix3x2f(Matrix2fc matrix2fc)
Matrix3x2f(Matrix3x2fc matrix3x2fc)
-
Method Summary
Modifier and Type Method Description float
determinant()
boolean
equals(java.lang.Object object)
boolean
equals(Matrix3x2fc matrix3x2fc, float float1)
float[]
get(float[] floatArray)
float[]
get(float[] floatArray, int int1)
java.nio.ByteBuffer
get(int int1, java.nio.ByteBuffer byteBuffer)
java.nio.FloatBuffer
get(int int1, java.nio.FloatBuffer floatBuffer)
java.nio.ByteBuffer
get(java.nio.ByteBuffer byteBuffer)
java.nio.FloatBuffer
get(java.nio.FloatBuffer floatBuffer)
Matrix3x2f
get(Matrix3x2f matrix3x2f)
float[]
get3x3(float[] floatArray)
float[]
get3x3(float[] floatArray, int int1)
java.nio.ByteBuffer
get3x3(int int1, java.nio.ByteBuffer byteBuffer)
java.nio.FloatBuffer
get3x3(int int1, java.nio.FloatBuffer floatBuffer)
java.nio.ByteBuffer
get3x3(java.nio.ByteBuffer byteBuffer)
java.nio.FloatBuffer
get3x3(java.nio.FloatBuffer floatBuffer)
float[]
get4x4(float[] floatArray)
float[]
get4x4(float[] floatArray, int int1)
java.nio.ByteBuffer
get4x4(int int1, java.nio.ByteBuffer byteBuffer)
java.nio.FloatBuffer
get4x4(int int1, java.nio.FloatBuffer floatBuffer)
java.nio.ByteBuffer
get4x4(java.nio.ByteBuffer byteBuffer)
java.nio.FloatBuffer
get4x4(java.nio.FloatBuffer floatBuffer)
Matrix3x2fc
getToAddress(long long1)
int
hashCode()
Matrix3x2f
identity()
Matrix3x2f
invert()
Matrix3x2f
invert(Matrix3x2f matrix3x2f)
boolean
isFinite()
float
m00()
float
m01()
float
m10()
float
m11()
float
m20()
float
m21()
Matrix3x2f
mul(Matrix3x2fc matrix3x2fc)
Matrix3x2f
mul(Matrix3x2fc matrix3x2fc, Matrix3x2f matrix3x2f)
Matrix3x2f
mulLocal(Matrix3x2fc matrix3x2fc)
Matrix3x2f
mulLocal(Matrix3x2fc matrix3x2fc, Matrix3x2f matrix3x2f)
Vector2f
normalizedPositiveX(Vector2f vector2f)
Vector2f
normalizedPositiveY(Vector2f vector2f)
Vector2f
origin(Vector2f vector2f)
Vector2f
positiveX(Vector2f vector2f)
Vector2f
positiveY(Vector2f vector2f)
void
readExternal(java.io.ObjectInput objectInput)
Matrix3x2f
rotate(float float1)
Matrix3x2f
rotate(float float1, Matrix3x2f matrix3x2f)
Matrix3x2f
rotateAbout(float float1, float float2, float float3)
Matrix3x2f
rotateAbout(float float1, float float2, float float3, Matrix3x2f matrix3x2f)
Matrix3x2f
rotateLocal(float float1)
Matrix3x2f
rotateLocal(float float1, Matrix3x2f matrix3x2f)
Matrix3x2f
rotateTo(Vector2fc vector2fc, Vector2fc vector2fc2)
Matrix3x2f
rotateTo(Vector2fc vector2fc, Vector2fc vector2fc2, Matrix3x2f matrix3x2f)
Matrix3x2f
rotation(float float1)
Matrix3x2f
scale(float float1)
Matrix3x2f
scale(float float1, float float2)
Matrix3x2f
scale(float float1, float float2, Matrix3x2f matrix3x2f)
Matrix3x2f
scale(float float1, Matrix3x2f matrix3x2f)
Matrix3x2f
scale(Vector2fc vector2fc)
Matrix3x2f
scale(Vector2fc vector2fc, Matrix3x2f matrix3x2f)
Matrix3x2f
scaleAround(float float1, float float2, float float3)
Matrix3x2f
scaleAround(float float1, float float2, float float3, float float4)
Matrix3x2f
scaleAround(float float1, float float2, float float3, float float4, Matrix3x2f matrix3x2f)
Matrix3x2f
scaleAround(float float1, float float2, float float3, Matrix3x2f matrix3x2f)
Matrix3x2f
scaleAroundLocal(float float1, float float2, float float3)
Matrix3x2f
scaleAroundLocal(float float1, float float2, float float3, float float4, float float5, float float6)
Matrix3x2f
scaleAroundLocal(float float1, float float2, float float3, float float4, Matrix3x2f matrix3x2f)
Matrix3x2f
scaleAroundLocal(float float1, float float2, float float3, Matrix3x2f matrix3x2f)
Matrix3x2f
scaleLocal(float float1)
Matrix3x2f
scaleLocal(float float1, float float2)
Matrix3x2f
scaleLocal(float float1, float float2, Matrix3x2f matrix3x2f)
Matrix3x2f
scaleLocal(float float1, Matrix3x2f matrix3x2f)
Matrix3x2f
scaling(float float1)
Matrix3x2f
scaling(float float1, float float2)
Matrix3x2f
set(float[] floatArray)
Matrix3x2f
set(float float1, float float2, float float3, float float4, float float5, float float6)
Matrix3x2f
set(java.nio.ByteBuffer byteBuffer)
Matrix3x2f
set(java.nio.FloatBuffer floatBuffer)
Matrix3x2f
set(Matrix2fc matrix2fc)
Matrix3x2f
set(Matrix3x2fc matrix3x2fc)
Matrix3x2f
setFromAddress(long long1)
Matrix3x2f
setTranslation(float float1, float float2)
Matrix3x2f
setTranslation(Vector2f vector2f)
Matrix3x2f
setView(float float1, float float2, float float3, float float4)
Matrix3x2f
shearX(float float1)
Matrix3x2f
shearX(float float1, Matrix3x2f matrix3x2f)
Matrix3x2f
shearY(float float1)
Matrix3x2f
shearY(float float1, Matrix3x2f matrix3x2f)
Matrix3x2f
span(Vector2f vector2f, Vector2f vector2f2, Vector2f vector2f3)
boolean
testAar(float float1, float float2, float float3, float float4)
boolean
testCircle(float float1, float float2, float float3)
boolean
testPoint(float float1, float float2)
java.lang.String
toString()
java.lang.String
toString(java.text.NumberFormat numberFormat)
Vector3f
transform(float float1, float float2, float float3, Vector3f vector3f)
Vector3f
transform(Vector3f vector3f)
Vector3f
transform(Vector3f vector3f, Vector3f vector3f2)
Vector2f
transformDirection(float float1, float float2, Vector2f vector2f)
Vector2f
transformDirection(Vector2f vector2f)
Vector2f
transformDirection(Vector2fc vector2fc, Vector2f vector2f)
Vector2f
transformPosition(float float1, float float2, Vector2f vector2f)
Vector2f
transformPosition(Vector2f vector2f)
Vector2f
transformPosition(Vector2fc vector2fc, Vector2f vector2f)
Matrix3x2f
translate(float float1, float float2)
Matrix3x2f
translate(float float1, float float2, Matrix3x2f matrix3x2f)
Matrix3x2f
translate(Vector2fc vector2fc)
Matrix3x2f
translate(Vector2fc vector2fc, Matrix3x2f matrix3x2f)
Matrix3x2f
translateLocal(float float1, float float2)
Matrix3x2f
translateLocal(float float1, float float2, Matrix3x2f matrix3x2f)
Matrix3x2f
translateLocal(Vector2fc vector2fc)
Matrix3x2f
translateLocal(Vector2fc vector2fc, Matrix3x2f matrix3x2f)
Matrix3x2f
translation(float float1, float float2)
Matrix3x2f
translation(Vector2fc vector2fc)
Vector2f
unproject(float float1, float float2, int[] intArray, Vector2f vector2f)
Vector2f
unprojectInv(float float1, float float2, int[] intArray, Vector2f vector2f)
Matrix3x2f
view(float float1, float float2, float float3, float float4)
Matrix3x2f
view(float float1, float float2, float float3, float float4, Matrix3x2f matrix3x2f)
float[]
viewArea(float[] floatArray)
void
writeExternal(java.io.ObjectOutput objectOutput)
Matrix3x2f
zero()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
m00
public float m00 -
m01
public float m01 -
m10
public float m10 -
m11
public float m11 -
m20
public float m20 -
m21
public float m21
-
-
Constructor Details
-
Matrix3x2f
public Matrix3x2f() -
Matrix3x2f
-
Matrix3x2f
-
Matrix3x2f
public Matrix3x2f(float float1, float float2, float float3, float float4, float float5, float float6) -
Matrix3x2f
public Matrix3x2f(java.nio.FloatBuffer floatBuffer)
-
-
Method Details
-
m00
public float m00()- Specified by:
m00
in interfaceMatrix3x2fc
-
m01
public float m01()- Specified by:
m01
in interfaceMatrix3x2fc
-
m10
public float m10()- Specified by:
m10
in interfaceMatrix3x2fc
-
m11
public float m11()- Specified by:
m11
in interfaceMatrix3x2fc
-
m20
public float m20()- Specified by:
m20
in interfaceMatrix3x2fc
-
m21
public float m21()- Specified by:
m21
in interfaceMatrix3x2fc
-
set
-
set
-
mul
-
mul
- Specified by:
mul
in interfaceMatrix3x2fc
-
mulLocal
-
mulLocal
- Specified by:
mulLocal
in interfaceMatrix3x2fc
-
set
public Matrix3x2f set(float float1, float float2, float float3, float float4, float float5, float float6) -
set
-
determinant
public float determinant()- Specified by:
determinant
in interfaceMatrix3x2fc
-
invert
-
invert
- Specified by:
invert
in interfaceMatrix3x2fc
-
translation
-
translation
-
setTranslation
-
setTranslation
-
translate
- Specified by:
translate
in interfaceMatrix3x2fc
-
translate
-
translate
- Specified by:
translate
in interfaceMatrix3x2fc
-
translate
-
translateLocal
-
translateLocal
- Specified by:
translateLocal
in interfaceMatrix3x2fc
-
translateLocal
- Specified by:
translateLocal
in interfaceMatrix3x2fc
-
translateLocal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
toString
public java.lang.String toString(java.text.NumberFormat numberFormat) -
get
- Specified by:
get
in interfaceMatrix3x2fc
-
get
public java.nio.FloatBuffer get(java.nio.FloatBuffer floatBuffer)- Specified by:
get
in interfaceMatrix3x2fc
-
get
public java.nio.FloatBuffer get(int int1, java.nio.FloatBuffer floatBuffer)- Specified by:
get
in interfaceMatrix3x2fc
-
get
public java.nio.ByteBuffer get(java.nio.ByteBuffer byteBuffer)- Specified by:
get
in interfaceMatrix3x2fc
-
get
public java.nio.ByteBuffer get(int int1, java.nio.ByteBuffer byteBuffer)- Specified by:
get
in interfaceMatrix3x2fc
-
get3x3
public java.nio.FloatBuffer get3x3(java.nio.FloatBuffer floatBuffer)- Specified by:
get3x3
in interfaceMatrix3x2fc
-
get3x3
public java.nio.FloatBuffer get3x3(int int1, java.nio.FloatBuffer floatBuffer)- Specified by:
get3x3
in interfaceMatrix3x2fc
-
get3x3
public java.nio.ByteBuffer get3x3(java.nio.ByteBuffer byteBuffer)- Specified by:
get3x3
in interfaceMatrix3x2fc
-
get3x3
public java.nio.ByteBuffer get3x3(int int1, java.nio.ByteBuffer byteBuffer)- Specified by:
get3x3
in interfaceMatrix3x2fc
-
get4x4
public java.nio.FloatBuffer get4x4(java.nio.FloatBuffer floatBuffer)- Specified by:
get4x4
in interfaceMatrix3x2fc
-
get4x4
public java.nio.FloatBuffer get4x4(int int1, java.nio.FloatBuffer floatBuffer)- Specified by:
get4x4
in interfaceMatrix3x2fc
-
get4x4
public java.nio.ByteBuffer get4x4(java.nio.ByteBuffer byteBuffer)- Specified by:
get4x4
in interfaceMatrix3x2fc
-
get4x4
public java.nio.ByteBuffer get4x4(int int1, java.nio.ByteBuffer byteBuffer)- Specified by:
get4x4
in interfaceMatrix3x2fc
-
getToAddress
- Specified by:
getToAddress
in interfaceMatrix3x2fc
-
get
public float[] get(float[] floatArray, int int1)- Specified by:
get
in interfaceMatrix3x2fc
-
get
public float[] get(float[] floatArray)- Specified by:
get
in interfaceMatrix3x2fc
-
get3x3
public float[] get3x3(float[] floatArray, int int1)- Specified by:
get3x3
in interfaceMatrix3x2fc
-
get3x3
public float[] get3x3(float[] floatArray)- Specified by:
get3x3
in interfaceMatrix3x2fc
-
get4x4
public float[] get4x4(float[] floatArray, int int1)- Specified by:
get4x4
in interfaceMatrix3x2fc
-
get4x4
public float[] get4x4(float[] floatArray)- Specified by:
get4x4
in interfaceMatrix3x2fc
-
set
-
set
-
setFromAddress
-
zero
-
identity
-
scale
- Specified by:
scale
in interfaceMatrix3x2fc
-
scale
-
scale
-
scale
- Specified by:
scale
in interfaceMatrix3x2fc
-
scale
- Specified by:
scale
in interfaceMatrix3x2fc
-
scale
-
scaleLocal
- Specified by:
scaleLocal
in interfaceMatrix3x2fc
-
scaleLocal
-
scaleLocal
- Specified by:
scaleLocal
in interfaceMatrix3x2fc
-
scaleLocal
-
scaleAround
public Matrix3x2f scaleAround(float float1, float float2, float float3, float float4, Matrix3x2f matrix3x2f)- Specified by:
scaleAround
in interfaceMatrix3x2fc
-
scaleAround
-
scaleAround
- Specified by:
scaleAround
in interfaceMatrix3x2fc
-
scaleAround
-
scaleAroundLocal
public Matrix3x2f scaleAroundLocal(float float1, float float2, float float3, float float4, Matrix3x2f matrix3x2f)- Specified by:
scaleAroundLocal
in interfaceMatrix3x2fc
-
scaleAroundLocal
public Matrix3x2f scaleAroundLocal(float float1, float float2, float float3, Matrix3x2f matrix3x2f)- Specified by:
scaleAroundLocal
in interfaceMatrix3x2fc
-
scaleAroundLocal
public Matrix3x2f scaleAroundLocal(float float1, float float2, float float3, float float4, float float5, float float6) -
scaleAroundLocal
-
scaling
-
scaling
-
rotation
-
transform
- Specified by:
transform
in interfaceMatrix3x2fc
-
transform
- Specified by:
transform
in interfaceMatrix3x2fc
-
transform
- Specified by:
transform
in interfaceMatrix3x2fc
-
transformPosition
- Specified by:
transformPosition
in interfaceMatrix3x2fc
-
transformPosition
- Specified by:
transformPosition
in interfaceMatrix3x2fc
-
transformPosition
- Specified by:
transformPosition
in interfaceMatrix3x2fc
-
transformDirection
- Specified by:
transformDirection
in interfaceMatrix3x2fc
-
transformDirection
- Specified by:
transformDirection
in interfaceMatrix3x2fc
-
transformDirection
- Specified by:
transformDirection
in interfaceMatrix3x2fc
-
writeExternal
public void writeExternal(java.io.ObjectOutput objectOutput) throws java.io.IOException- Specified by:
writeExternal
in interfacejava.io.Externalizable
- Throws:
java.io.IOException
-
readExternal
public void readExternal(java.io.ObjectInput objectInput) throws java.io.IOException- Specified by:
readExternal
in interfacejava.io.Externalizable
- Throws:
java.io.IOException
-
rotate
-
rotate
- Specified by:
rotate
in interfaceMatrix3x2fc
-
rotateLocal
- Specified by:
rotateLocal
in interfaceMatrix3x2fc
-
rotateLocal
-
rotateAbout
-
rotateAbout
- Specified by:
rotateAbout
in interfaceMatrix3x2fc
-
rotateTo
- Specified by:
rotateTo
in interfaceMatrix3x2fc
-
rotateTo
-
view
public Matrix3x2f view(float float1, float float2, float float3, float float4, Matrix3x2f matrix3x2f)- Specified by:
view
in interfaceMatrix3x2fc
-
view
-
setView
-
origin
- Specified by:
origin
in interfaceMatrix3x2fc
-
viewArea
public float[] viewArea(float[] floatArray)- Specified by:
viewArea
in interfaceMatrix3x2fc
-
positiveX
- Specified by:
positiveX
in interfaceMatrix3x2fc
-
normalizedPositiveX
- Specified by:
normalizedPositiveX
in interfaceMatrix3x2fc
-
positiveY
- Specified by:
positiveY
in interfaceMatrix3x2fc
-
normalizedPositiveY
- Specified by:
normalizedPositiveY
in interfaceMatrix3x2fc
-
unproject
- Specified by:
unproject
in interfaceMatrix3x2fc
-
unprojectInv
- Specified by:
unprojectInv
in interfaceMatrix3x2fc
-
shearX
-
shearX
-
shearY
-
shearY
-
span
-
testPoint
public boolean testPoint(float float1, float float2)- Specified by:
testPoint
in interfaceMatrix3x2fc
-
testCircle
public boolean testCircle(float float1, float float2, float float3)- Specified by:
testCircle
in interfaceMatrix3x2fc
-
testAar
public boolean testAar(float float1, float float2, float float3, float float4)- Specified by:
testAar
in interfaceMatrix3x2fc
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object object)- Overrides:
equals
in classjava.lang.Object
-
equals
- Specified by:
equals
in interfaceMatrix3x2fc
-
isFinite
public boolean isFinite()- Specified by:
isFinite
in interfaceMatrix3x2fc
-