public final class Matrix3f extends Object
Modifier and Type | Field and Description |
---|---|
protected float |
a00 |
protected float |
a01 |
protected float |
a02 |
protected float |
a10 |
protected float |
a11 |
protected float |
a12 |
protected float |
a20 |
protected float |
a21 |
protected float |
a22 |
private static float |
COS_PI_OVER_EIGHT |
private static float |
SIN_PI_OVER_EIGHT |
private static float |
SQRT_HALF |
private static float |
THREE_PLUS_TWO_SQRT_TWO |
Constructor and Description |
---|
Matrix3f() |
Matrix3f(Matrix3f source) |
Matrix3f(Matrix4f source) |
Matrix3f(Quaternion source) |
Modifier and Type | Method and Description |
---|---|
Matrix3f |
copy() |
Triple<Quaternion,Vector3f,Quaternion> |
decomposeLinearTransformation() |
float |
determinantAndAdjugate() |
boolean |
equals(Object object) |
private static com.mojang.datafixers.util.Pair<Float,Float> |
getSinAndCosOfRotation(float upperLeft,
float diagonalAverage,
float lowerRight) |
int |
hashCode() |
boolean |
invert() |
void |
load(Matrix3f source) |
void |
loadIdentity() |
private static com.mojang.datafixers.util.Pair<Float,Float> |
method_22848(float float2,
float float3) |
private static Quaternion |
method_22857(Matrix3f matrix3f) |
void |
multiply(float scalar) |
void |
multiply(Matrix3f other) |
void |
multiply(Quaternion quaternion) |
static Matrix3f |
scale(float x,
float y,
float z) |
void |
set(int x,
int y,
float value) |
String |
toString() |
void |
transpose() |
private static final float THREE_PLUS_TWO_SQRT_TWO
private static final float COS_PI_OVER_EIGHT
private static final float SIN_PI_OVER_EIGHT
private static final float SQRT_HALF
protected float a00
protected float a01
protected float a02
protected float a10
protected float a11
protected float a12
protected float a20
protected float a21
protected float a22
public Matrix3f()
public Matrix3f(Quaternion source)
public Matrix3f(Matrix4f source)
public Matrix3f(Matrix3f source)
@Environment(value=CLIENT) public static Matrix3f scale(float x, float y, float z)
@Environment(value=CLIENT) private static com.mojang.datafixers.util.Pair<Float,Float> getSinAndCosOfRotation(float upperLeft, float diagonalAverage, float lowerRight)
@Environment(value=CLIENT) private static com.mojang.datafixers.util.Pair<Float,Float> method_22848(float float2, float float3)
@Environment(value=CLIENT) private static Quaternion method_22857(Matrix3f matrix3f)
@Environment(value=CLIENT) public void transpose()
@Environment(value=CLIENT) public Triple<Quaternion,Vector3f,Quaternion> decomposeLinearTransformation()
@Environment(value=CLIENT) public void load(Matrix3f source)
@Environment(value=CLIENT) public void loadIdentity()
@Environment(value=CLIENT) public float determinantAndAdjugate()
@Environment(value=CLIENT) public boolean invert()
public void set(int x, int y, float value)
public void multiply(Matrix3f other)
@Environment(value=CLIENT) public void multiply(Quaternion quaternion)
@Environment(value=CLIENT) public void multiply(float scalar)
@Environment(value=CLIENT) public Matrix3f copy()