Package zombie.core.skinnedmodel
Class Matrix4
java.lang.Object
zombie.core.skinnedmodel.Matrix4
public class Matrix4
extends java.lang.Object
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description Matrix4
clear()
Matrix4
clearToIdentity()
Matrix4
clearToOrtho(float left, float right, float bottom, float top, float near, float far)
Matrix4
clearToPerspective(float fovRad, float width, float height, float near, float far)
float
get(int index)
java.nio.FloatBuffer
getBuffer()
Matrix4
mult(float[] m)
Matrix4
mult(Matrix4 m)
Matrix4
put(float[] m)
Matrix4
put(int index, float f)
Matrix4
put(int index, Vector3 v, float w)
Matrix4
put(Matrix4 m)
Matrix4
rotate(float angle, float x, float y, float z)
Matrix4
rotate(float angle, Vector3 vec)
Matrix4
scale(float x, float y, float z)
Matrix4
scale(Vector3 vec)
Matrix4
translate(float x, float y, float z)
Matrix4
translate(Vector3 vec)
Matrix4
transpose()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
Identity
-
-
Constructor Details
-
Matrix4
public Matrix4() -
Matrix4
public Matrix4(float[] m) -
Matrix4
-
-
Method Details
-
clear
-
clearToIdentity
-
clearToOrtho
public Matrix4 clearToOrtho(float left, float right, float bottom, float top, float near, float far) -
clearToPerspective
-
get
public float get(int index) -
put
-
put
-
put
-
put
-
mult
-
mult
-
transpose
-
translate
-
translate
-
scale
-
scale
-
rotate
-
rotate
-
getBuffer
public java.nio.FloatBuffer getBuffer()
-