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 Matrix4clear()Matrix4clearToIdentity()Matrix4clearToOrtho(float left, float right, float bottom, float top, float near, float far)Matrix4clearToPerspective(float fovRad, float width, float height, float near, float far)floatget(int index)java.nio.FloatBuffergetBuffer()Matrix4mult(float[] m)Matrix4mult(Matrix4 m)Matrix4put(float[] m)Matrix4put(int index, float f)Matrix4put(int index, Vector3 v, float w)Matrix4put(Matrix4 m)Matrix4rotate(float angle, float x, float y, float z)Matrix4rotate(float angle, Vector3 vec)Matrix4scale(float x, float y, float z)Matrix4scale(Vector3 vec)Matrix4translate(float x, float y, float z)Matrix4translate(Vector3 vec)Matrix4transpose()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()
-