public final class Matrix4f
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected float |
m00 |
protected float |
m01 |
protected float |
m02 |
protected float |
m03 |
protected float |
m10 |
protected float |
m11 |
protected float |
m12 |
protected float |
m13 |
protected float |
m20 |
protected float |
m21 |
protected float |
m22 |
protected float |
m23 |
protected float |
m30 |
protected float |
m31 |
protected float |
m32 |
protected float |
m33 |
Constructor and Description |
---|
Matrix4f() |
Matrix4f(float[] values) |
Matrix4f(Matrix4f matrixIn) |
Matrix4f(Quaternion quaternionIn) |
Modifier and Type | Method and Description |
---|---|
void |
add(Matrix4f other) |
float |
adjugateAndDet() |
private static int |
bufferIndex(int p_226594_0_,
int p_226594_1_) |
Matrix4f |
copy() |
boolean |
equals(java.lang.Object p_equals_1_) |
int |
hashCode() |
boolean |
invert() |
static Matrix4f |
makeScale(float p_226593_0_,
float p_226593_1_,
float p_226593_2_) |
static Matrix4f |
makeTranslate(float p_226599_0_,
float p_226599_1_,
float p_226599_2_) |
void |
mul(float p_226592_1_) |
void |
mul(Matrix4f p_226595_1_) |
void |
mul(Quaternion p_226596_1_) |
void |
multiplyBackward(Matrix4f other) |
static Matrix4f |
orthographic(float width,
float height,
float nearPlane,
float farPlane) |
static Matrix4f |
perspective(double fov,
float aspectRatio,
float nearPlane,
float farPlane) |
void |
set(Matrix4f mat) |
void |
setIdentity() |
void |
setTranslation(float x,
float y,
float z) |
java.lang.String |
toString() |
void |
translate(Vector3f p_226597_1_) |
void |
transpose() |
void |
write(java.nio.FloatBuffer floatBufferIn) |
protected float m00
protected float m01
protected float m02
protected float m03
protected float m10
protected float m11
protected float m12
protected float m13
protected float m20
protected float m21
protected float m22
protected float m23
protected float m30
protected float m31
protected float m32
protected float m33
public Matrix4f()
public Matrix4f(Matrix4f matrixIn)
public Matrix4f(Quaternion quaternionIn)
public Matrix4f(float[] values)
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
private static int bufferIndex(int p_226594_0_, int p_226594_1_)
public java.lang.String toString()
toString
in class java.lang.Object
public void write(java.nio.FloatBuffer floatBufferIn)
public void setIdentity()
public float adjugateAndDet()
public void transpose()
public boolean invert()
public void mul(Matrix4f p_226595_1_)
public void mul(Quaternion p_226596_1_)
public void mul(float p_226592_1_)
public static Matrix4f perspective(double fov, float aspectRatio, float nearPlane, float farPlane)
public static Matrix4f orthographic(float width, float height, float nearPlane, float farPlane)
public void translate(Vector3f p_226597_1_)
public Matrix4f copy()
public static Matrix4f makeScale(float p_226593_0_, float p_226593_1_, float p_226593_2_)
public static Matrix4f makeTranslate(float p_226599_0_, float p_226599_1_, float p_226599_2_)
public void set(Matrix4f mat)
public void add(Matrix4f other)
public void multiplyBackward(Matrix4f other)
public void setTranslation(float x, float y, float z)