public final class Matrix4f extends Object
Modifier and Type | Field and Description |
---|---|
protected float |
a00 |
protected float |
a01 |
protected float |
a02 |
protected float |
a03 |
protected float |
a10 |
protected float |
a11 |
protected float |
a12 |
protected float |
a13 |
protected float |
a20 |
protected float |
a21 |
protected float |
a22 |
protected float |
a23 |
protected float |
a30 |
protected float |
a31 |
protected float |
a32 |
protected float |
a33 |
Constructor and Description |
---|
Matrix4f() |
Matrix4f(Matrix4f source) |
Matrix4f(Quaternion quaternion) |
Modifier and Type | Method and Description |
---|---|
void |
addToLastColumn(Vector3f vector) |
Matrix4f |
copy() |
float |
determinantAndAdjugate() |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
invert() |
void |
loadIdentity() |
void |
multiply(float scalar) |
void |
multiply(Matrix4f matrix) |
void |
multiply(Quaternion quaternion) |
private static int |
pack(int x,
int y) |
static Matrix4f |
projectionMatrix(float width,
float height,
float nearPlane,
float farPlane) |
static Matrix4f |
scale(float x,
float y,
float z) |
String |
toString() |
static Matrix4f |
translate(float x,
float y,
float z) |
void |
transpose() |
static Matrix4f |
viewboxMatrix(double fov,
float aspectRatio,
float cameraDepth,
float viewDistance) |
void |
writeToBuffer(FloatBuffer floatBuffer) |
protected float a00
protected float a01
protected float a02
protected float a03
protected float a10
protected float a11
protected float a12
protected float a13
protected float a20
protected float a21
protected float a22
protected float a23
protected float a30
protected float a31
protected float a32
protected float a33
public Matrix4f()
public Matrix4f(Matrix4f source)
public Matrix4f(Quaternion quaternion)
@Environment(value=CLIENT) private static int pack(int x, int y)
@Environment(value=CLIENT) public void writeToBuffer(FloatBuffer floatBuffer)
@Environment(value=CLIENT) public void loadIdentity()
@Environment(value=CLIENT) public float determinantAndAdjugate()
@Environment(value=CLIENT) public void transpose()
@Environment(value=CLIENT) public boolean invert()
@Environment(value=CLIENT) public void multiply(Matrix4f matrix)
@Environment(value=CLIENT) public void multiply(Quaternion quaternion)
@Environment(value=CLIENT) public void multiply(float scalar)
@Environment(value=CLIENT) public static Matrix4f viewboxMatrix(double fov, float aspectRatio, float cameraDepth, float viewDistance)
@Environment(value=CLIENT) public static Matrix4f projectionMatrix(float width, float height, float nearPlane, float farPlane)
@Environment(value=CLIENT) public void addToLastColumn(Vector3f vector)
@Environment(value=CLIENT) public Matrix4f copy()
@Environment(value=CLIENT) public static Matrix4f scale(float x, float y, float z)
@Environment(value=CLIENT) public static Matrix4f translate(float x, float y, float z)