public class Matrix4x4
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
float[] |
data |
| Modifier and Type | Method | Description |
|---|---|---|
protected static float[] |
_mul(float[] d1,
float[] d2) |
|
Matrix4x4 |
clone() |
|
static Matrix4x4 |
makeFrustum(float left,
float right,
float bottom,
float top,
float nearZ,
float farZ) |
|
static Matrix4x4 |
makeIdentity() |
|
static Matrix4x4 |
makeOrtho(float left,
float right,
float bottom,
float top,
float nearZ,
float farZ) |
|
static Matrix4x4 |
makePerspective(float fovyRad,
float aspect,
float nearZ,
float farZ) |
|
static Matrix4x4 |
makeRotation(float rad,
float x,
float y,
float z) |
|
static Matrix4x4 |
makeScaling(float x,
float y,
float z) |
|
static Matrix4x4 |
makeTranslation(float x,
float y,
float z) |
|
static Matrix4x4 |
makeXRotation(float rad) |
|
static Matrix4x4 |
makeYRotation(float rad) |
|
static Matrix4x4 |
makeZRotation(float rad) |
|
Matrix4x4 |
multiply(Matrix4x4 mat) |
|
Matrix4x4 |
multiplyBy(Matrix4x4 mat) |
public static Matrix4x4 makeIdentity()
public static Matrix4x4 makeRotation(float rad, float x, float y, float z)
public static Matrix4x4 makeXRotation(float rad)
public static Matrix4x4 makeYRotation(float rad)
public static Matrix4x4 makeZRotation(float rad)
public static Matrix4x4 makeTranslation(float x, float y, float z)
public static Matrix4x4 makeScaling(float x, float y, float z)
public static Matrix4x4 makePerspective(float fovyRad, float aspect, float nearZ, float farZ)
public static Matrix4x4 makeFrustum(float left, float right, float bottom, float top, float nearZ, float farZ)
public static Matrix4x4 makeOrtho(float left, float right, float bottom, float top, float nearZ, float farZ)
protected static float[] _mul(float[] d1,
float[] d2)
public Matrix4x4 clone()
clone in class java.lang.Object