Package zombie.core.skinnedmodel
Class HelperFunctions
java.lang.Object
zombie.core.skinnedmodel.HelperFunctions
public final class HelperFunctions
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HelperFunctions.TransformResult_QPS
-
Constructor Summary
Constructors Constructor Description HelperFunctions()
-
Method Summary
Modifier and Type Method Description static void
ApplyBlendBone(float float1, org.lwjgl.util.vector.Matrix4f matrix4f, Vector3 vector3, Vector3 vector32, org.lwjgl.util.vector.Vector4f vector4f, Vector3 vector33, Vector3 vector34)
static org.lwjgl.util.vector.Matrix4f
CreateFromQuaternion(org.lwjgl.util.vector.Quaternion quaternion)
static org.lwjgl.util.vector.Matrix4f
CreateFromQuaternion(org.lwjgl.util.vector.Quaternion quaternion, org.lwjgl.util.vector.Matrix4f matrix4f)
static org.lwjgl.util.vector.Matrix4f
CreateFromQuaternionPositionScale(org.lwjgl.util.vector.Vector3f vector3f, org.lwjgl.util.vector.Quaternion quaternion, org.lwjgl.util.vector.Vector3f vector3f2, org.lwjgl.util.vector.Matrix4f matrix4f)
static void
CreateFromQuaternionPositionScale(org.lwjgl.util.vector.Vector3f vector3f, org.lwjgl.util.vector.Quaternion quaternion, org.lwjgl.util.vector.Vector3f vector3f2, HelperFunctions.TransformResult_QPS transformResult_QPS)
static org.lwjgl.util.vector.Quaternion
getIdentityQ()
static org.lwjgl.util.vector.Matrix4f
getMatrix()
static org.lwjgl.util.vector.Matrix4f
getMatrix(org.lwjgl.util.vector.Matrix4f matrix4f)
static org.lwjgl.util.vector.Vector3f
getPosition(org.lwjgl.util.vector.Matrix4f matrix4f, org.lwjgl.util.vector.Vector3f vector3f)
static org.lwjgl.util.vector.Quaternion
getRotation(org.lwjgl.util.vector.Matrix4f matrix4f, org.lwjgl.util.vector.Quaternion quaternion)
static float
getRotationY(org.lwjgl.util.vector.Quaternion quaternion)
static float
getRotationZ(org.lwjgl.util.vector.Quaternion quaternion)
static org.lwjgl.util.vector.Vector3f
getVector3f()
static org.lwjgl.util.vector.Vector3f
getZero3()
static void
returnMatrix(org.lwjgl.util.vector.Matrix4f matrix4f)
static void
returnVector3f(org.lwjgl.util.vector.Vector3f vector3f)
static void
setPosition(org.lwjgl.util.vector.Matrix4f matrix4f, org.lwjgl.util.vector.Vector3f vector3f)
static org.lwjgl.util.vector.Vector3f
ToEulerAngles(org.lwjgl.util.vector.Quaternion quaternion, org.lwjgl.util.vector.Vector3f vector3f)
static org.lwjgl.util.vector.Quaternion
ToQuaternion(double double1, double double2, double double3, org.lwjgl.util.vector.Quaternion quaternion)
static int
ToRgba(Color color)
static void
transform(org.lwjgl.util.vector.Quaternion quaternion, org.lwjgl.util.vector.Vector3f vector3f, org.lwjgl.util.vector.Vector3f vector3f2)
static void
TransformVertices(VertexPositionNormalTangentTextureSkin[] vertexPositionNormalTangentTextureSkinArray, java.util.List list)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
HelperFunctions
public HelperFunctions()
-
-
Method Details
-
ToRgba
-
returnMatrix
public static void returnMatrix(org.lwjgl.util.vector.Matrix4f matrix4f) -
getMatrix
public static org.lwjgl.util.vector.Matrix4f getMatrix() -
getMatrix
public static org.lwjgl.util.vector.Matrix4f getMatrix(org.lwjgl.util.vector.Matrix4f matrix4f) -
getVector3f
public static org.lwjgl.util.vector.Vector3f getVector3f() -
returnVector3f
public static void returnVector3f(org.lwjgl.util.vector.Vector3f vector3f) -
CreateFromQuaternion
public static org.lwjgl.util.vector.Matrix4f CreateFromQuaternion(org.lwjgl.util.vector.Quaternion quaternion) -
CreateFromQuaternion
public static org.lwjgl.util.vector.Matrix4f CreateFromQuaternion(org.lwjgl.util.vector.Quaternion quaternion, org.lwjgl.util.vector.Matrix4f matrix4f) -
CreateFromQuaternionPositionScale
public static org.lwjgl.util.vector.Matrix4f CreateFromQuaternionPositionScale(org.lwjgl.util.vector.Vector3f vector3f, org.lwjgl.util.vector.Quaternion quaternion, org.lwjgl.util.vector.Vector3f vector3f2, org.lwjgl.util.vector.Matrix4f matrix4f) -
CreateFromQuaternionPositionScale
public static void CreateFromQuaternionPositionScale(org.lwjgl.util.vector.Vector3f vector3f, org.lwjgl.util.vector.Quaternion quaternion, org.lwjgl.util.vector.Vector3f vector3f2, HelperFunctions.TransformResult_QPS transformResult_QPS) -
TransformVertices
public static void TransformVertices(VertexPositionNormalTangentTextureSkin[] vertexPositionNormalTangentTextureSkinArray, java.util.List list) -
ApplyBlendBone
-
getPosition
public static org.lwjgl.util.vector.Vector3f getPosition(org.lwjgl.util.vector.Matrix4f matrix4f, org.lwjgl.util.vector.Vector3f vector3f) -
setPosition
public static void setPosition(org.lwjgl.util.vector.Matrix4f matrix4f, org.lwjgl.util.vector.Vector3f vector3f) -
getRotation
public static org.lwjgl.util.vector.Quaternion getRotation(org.lwjgl.util.vector.Matrix4f matrix4f, org.lwjgl.util.vector.Quaternion quaternion) -
transform
public static void transform(org.lwjgl.util.vector.Quaternion quaternion, org.lwjgl.util.vector.Vector3f vector3f, org.lwjgl.util.vector.Vector3f vector3f2) -
getRotationY
public static float getRotationY(org.lwjgl.util.vector.Quaternion quaternion) -
getRotationZ
public static float getRotationZ(org.lwjgl.util.vector.Quaternion quaternion) -
ToEulerAngles
public static org.lwjgl.util.vector.Vector3f ToEulerAngles(org.lwjgl.util.vector.Quaternion quaternion, org.lwjgl.util.vector.Vector3f vector3f) -
ToQuaternion
public static org.lwjgl.util.vector.Quaternion ToQuaternion(double double1, double double2, double double3, org.lwjgl.util.vector.Quaternion quaternion) -
getZero3
public static org.lwjgl.util.vector.Vector3f getZero3() -
getIdentityQ
public static org.lwjgl.util.vector.Quaternion getIdentityQ()
-