public static class MrMatrix4f.Operator
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
add(MrMatrix4f result,
MrMatrix4f m1,
MrMatrix4f m2)
Add two matrices and saves the result in 'result'
|
void |
fromQuaternion(MrMatrix4f result,
MrQuaternion q) |
void |
frustrum(MrMatrix4f result,
float left,
float right,
float bottom,
float top,
float near,
float far) |
void |
invert(MrMatrix4f result,
MrMatrix4f m) |
void |
lookAt(MrMatrix4f result,
float eyeX,
float eyeY,
float eyeZ,
float centerX,
float centerY,
float centerZ,
float upX,
float upY,
float upZ) |
void |
lookAt(MrMatrix4f result,
MrVector3f eye,
MrVector3f center,
MrVector3f up) |
void |
mult(MrMatrix4f result,
MrMatrix4f m1,
MrMatrix4f m2) |
void |
multScalar(MrMatrix4f result,
float s) |
void |
multScalar(MrMatrix4f result,
MrMatrix4f m,
float s) |
void |
multV(MrVector3f result,
MrMatrix4f m,
MrVector3f v) |
void |
multV(MrVector4f result,
MrMatrix4f m,
MrVector4f v) |
void |
ortho(MrMatrix4f result,
float left,
float right,
float bottom,
float top,
float near,
float far) |
void |
perspective(MrMatrix4f result,
float fovy,
float aspect,
float zNear,
float zFar) |
void |
rotate(MrMatrix4f result,
float angle,
float x,
float y,
float z) |
void |
rotate(MrMatrix4f result,
float angle,
MrVector3f v) |
void |
rotate(MrMatrix4f result,
MrMatrix4f m,
float angle,
float x,
float y,
float z) |
void |
rotate(MrMatrix4f result,
MrMatrix4f m,
float angle,
MrVector3f v) |
void |
rotate(MrMatrix4f result,
MrMatrix4f m,
MrQuaternion q) |
void |
rotate(MrMatrix4f result,
MrQuaternion q) |
void |
scale(MrMatrix4f result,
float s) |
void |
scale(MrMatrix4f result,
float sx,
float sy,
float sz) |
void |
scale(MrMatrix4f result,
MrMatrix4f m,
float s) |
void |
scale(MrMatrix4f result,
MrMatrix4f m,
float sx,
float sy,
float sz) |
void |
scale(MrMatrix4f result,
MrMatrix4f m,
MrVector3f v) |
void |
scale(MrMatrix4f result,
MrVector3f v) |
void |
setIdentity(MrMatrix4f result) |
void |
substract(MrMatrix4f result,
MrMatrix4f m1,
MrMatrix4f m2) |
void |
translate(MrMatrix4f result,
float x,
float y,
float z) |
void |
translate(MrMatrix4f result,
MrMatrix4f m,
float x,
float y,
float z) |
void |
translate(MrMatrix4f result,
MrMatrix4f m,
MrVector3f v) |
void |
translate(MrMatrix4f result,
MrVector3f v) |
void |
transpose(MrMatrix4f result,
MrMatrix4f m) |
public void setIdentity(MrMatrix4f result)
public void invert(MrMatrix4f result, MrMatrix4f m)
public void transpose(MrMatrix4f result, MrMatrix4f m)
public void add(MrMatrix4f result, MrMatrix4f m1, MrMatrix4f m2)
result
- m1
- m2
- public void substract(MrMatrix4f result, MrMatrix4f m1, MrMatrix4f m2)
public void mult(MrMatrix4f result, MrMatrix4f m1, MrMatrix4f m2)
public void multV(MrVector4f result, MrMatrix4f m, MrVector4f v)
public void multV(MrVector3f result, MrMatrix4f m, MrVector3f v)
public void multScalar(MrMatrix4f result, float s)
public void multScalar(MrMatrix4f result, MrMatrix4f m, float s)
public void translate(MrMatrix4f result, float x, float y, float z)
public void translate(MrMatrix4f result, MrMatrix4f m, float x, float y, float z)
public void translate(MrMatrix4f result, MrVector3f v)
public void translate(MrMatrix4f result, MrMatrix4f m, MrVector3f v)
public void rotate(MrMatrix4f result, float angle, float x, float y, float z)
public void rotate(MrMatrix4f result, MrMatrix4f m, float angle, float x, float y, float z)
public void rotate(MrMatrix4f result, float angle, MrVector3f v)
public void rotate(MrMatrix4f result, MrMatrix4f m, float angle, MrVector3f v)
public void rotate(MrMatrix4f result, MrQuaternion q)
public void rotate(MrMatrix4f result, MrMatrix4f m, MrQuaternion q)
public void scale(MrMatrix4f result, float sx, float sy, float sz)
public void scale(MrMatrix4f result, MrMatrix4f m, float sx, float sy, float sz)
public void scale(MrMatrix4f result, float s)
public void scale(MrMatrix4f result, MrMatrix4f m, float s)
public void scale(MrMatrix4f result, MrVector3f v)
public void scale(MrMatrix4f result, MrMatrix4f m, MrVector3f v)
public void fromQuaternion(MrMatrix4f result, MrQuaternion q)
public void frustrum(MrMatrix4f result, float left, float right, float bottom, float top, float near, float far)
public void ortho(MrMatrix4f result, float left, float right, float bottom, float top, float near, float far)
public void perspective(MrMatrix4f result, float fovy, float aspect, float zNear, float zFar)
public void lookAt(MrMatrix4f result, float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ)
public void lookAt(MrMatrix4f result, MrVector3f eye, MrVector3f center, MrVector3f up)