Package org.joml
Class Matrix4f
java.lang.Object
org.joml.Matrix4f
- All Implemented Interfaces:
java.io.Externalizable,java.io.Serializable,Matrix4fc
- Direct Known Subclasses:
MatrixStackf
public class Matrix4f extends java.lang.Object implements java.io.Externalizable, Matrix4fc
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from interface org.joml.Matrix4fc
CORNER_NXNYNZ, CORNER_NXNYPZ, CORNER_NXPYNZ, CORNER_NXPYPZ, CORNER_PXNYNZ, CORNER_PXNYPZ, CORNER_PXPYNZ, CORNER_PXPYPZ, PLANE_NX, PLANE_NY, PLANE_NZ, PLANE_PX, PLANE_PY, PLANE_PZ, PROPERTY_AFFINE, PROPERTY_IDENTITY, PROPERTY_PERSPECTIVE, PROPERTY_TRANSLATION -
Constructor Summary
Constructors Constructor Description Matrix4f()Matrix4f(float m00, float m01, float m02, float m03, float m10, float m11, float m12, float m13, float m20, float m21, float m22, float m23, float m30, float m31, float m32, float m33)Matrix4f(java.nio.FloatBuffer buffer)Matrix4f(Matrix3fc mat)Matrix4f(Matrix4dc mat)Matrix4f(Matrix4fc mat)Matrix4f(Matrix4x3fc mat)Matrix4f(Vector4fc col0, Vector4fc col1, Vector4fc col2, Vector4fc col3) -
Method Summary
Modifier and Type Method Description Matrix4fadd(Matrix4fc other)Matrix4fadd(Matrix4fc other, Matrix4f dest)Matrix4fadd4x3(Matrix4fc other)Matrix4fadd4x3(Matrix4fc other, Matrix4f dest)Matrix4farcball(float radius, float centerX, float centerY, float centerZ, float angleX, float angleY)Matrix4farcball(float radius, float centerX, float centerY, float centerZ, float angleX, float angleY, Matrix4f dest)Matrix4farcball(float radius, Vector3fc center, float angleX, float angleY)Matrix4farcball(float radius, Vector3fc center, float angleX, float angleY, Matrix4f dest)Matrix4fassumeAffine()Matrix4fassumeNothing()Matrix4fassumePerspective()Matrix4fbillboardCylindrical(Vector3fc objPos, Vector3fc targetPos, Vector3fc up)Matrix4fbillboardSpherical(Vector3fc objPos, Vector3fc targetPos)Matrix4fbillboardSpherical(Vector3fc objPos, Vector3fc targetPos, Vector3fc up)floatdeterminant()floatdeterminant3x3()floatdeterminantAffine()booleanequals(java.lang.Object obj)Matrix4ffma4x3(Matrix4fc other, float otherFactor)Matrix4ffma4x3(Matrix4fc other, float otherFactor, Matrix4f dest)Matrix4ffrustum(float left, float right, float bottom, float top, float zNear, float zFar)Matrix4ffrustum(float left, float right, float bottom, float top, float zNear, float zFar, boolean zZeroToOne)Matrix4ffrustum(float left, float right, float bottom, float top, float zNear, float zFar, boolean zZeroToOne, Matrix4f dest)Matrix4ffrustum(float left, float right, float bottom, float top, float zNear, float zFar, Matrix4f dest)Matrix4ffrustumAabb(Vector3f min, Vector3f max)Vector3ffrustumCorner(int corner, Vector3f point)Matrix4ffrustumLH(float left, float right, float bottom, float top, float zNear, float zFar)Matrix4ffrustumLH(float left, float right, float bottom, float top, float zNear, float zFar, boolean zZeroToOne)Matrix4ffrustumLH(float left, float right, float bottom, float top, float zNear, float zFar, boolean zZeroToOne, Matrix4f dest)Matrix4ffrustumLH(float left, float right, float bottom, float top, float zNear, float zFar, Matrix4f dest)Vector4ffrustumPlane(int plane, Vector4f planeEquation)Vector3ffrustumRayDir(float x, float y, Vector3f dir)float[]get(float[] arr)float[]get(float[] arr, int offset)java.nio.ByteBufferget(int index, java.nio.ByteBuffer buffer)java.nio.FloatBufferget(int index, java.nio.FloatBuffer buffer)java.nio.ByteBufferget(java.nio.ByteBuffer buffer)java.nio.FloatBufferget(java.nio.FloatBuffer buffer)Matrix4dget(Matrix4d dest)Matrix4fget(Matrix4f dest)Matrix3dget3x3(Matrix3d dest)Matrix3fget3x3(Matrix3f dest)Matrix4x3fget4x3(Matrix4x3f dest)java.nio.ByteBufferget4x3Transposed(int index, java.nio.ByteBuffer buffer)java.nio.FloatBufferget4x3Transposed(int index, java.nio.FloatBuffer buffer)java.nio.ByteBufferget4x3Transposed(java.nio.ByteBuffer buffer)java.nio.FloatBufferget4x3Transposed(java.nio.FloatBuffer buffer)Vector4fgetColumn(int column, Vector4f dest)Vector3fgetEulerAnglesZYX(Vector3f dest)QuaterniondgetNormalizedRotation(Quaterniond dest)QuaternionfgetNormalizedRotation(Quaternionf dest)AxisAngle4dgetRotation(AxisAngle4d dest)AxisAngle4fgetRotation(AxisAngle4f dest)Vector4fgetRow(int row, Vector4f dest)Vector3fgetScale(Vector3f dest)Vector3fgetTranslation(Vector3f dest)java.nio.ByteBuffergetTransposed(int index, java.nio.ByteBuffer buffer)java.nio.FloatBuffergetTransposed(int index, java.nio.FloatBuffer buffer)java.nio.ByteBuffergetTransposed(java.nio.ByteBuffer buffer)java.nio.FloatBuffergetTransposed(java.nio.FloatBuffer buffer)QuaterniondgetUnnormalizedRotation(Quaterniond dest)QuaternionfgetUnnormalizedRotation(Quaternionf dest)inthashCode()Matrix4fidentity()Matrix4finvert()Matrix4finvert(Matrix4f dest)Matrix4finvertAffine()Matrix4finvertAffine(Matrix4f dest)Matrix4finvertAffineUnitScale()Matrix4finvertAffineUnitScale(Matrix4f dest)Matrix4finvertFrustum()Matrix4finvertFrustum(Matrix4f dest)Matrix4finvertLookAt()Matrix4finvertLookAt(Matrix4f dest)Matrix4finvertOrtho()Matrix4finvertOrtho(Matrix4f dest)Matrix4finvertPerspective()Matrix4finvertPerspective(Matrix4f dest)Matrix4finvertPerspectiveView(Matrix4fc view, Matrix4f dest)Matrix4finvertPerspectiveView(Matrix4x3fc view, Matrix4f dest)booleanisAffine()Matrix4flerp(Matrix4fc other, float t)Matrix4flerp(Matrix4fc other, float t, Matrix4f dest)Matrix4flookAlong(float dirX, float dirY, float dirZ, float upX, float upY, float upZ)Matrix4flookAlong(float dirX, float dirY, float dirZ, float upX, float upY, float upZ, Matrix4f dest)Matrix4flookAlong(Vector3fc dir, Vector3fc up)Matrix4flookAlong(Vector3fc dir, Vector3fc up, Matrix4f dest)Matrix4flookAt(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ)Matrix4flookAt(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ, Matrix4f dest)Matrix4flookAt(Vector3fc eye, Vector3fc center, Vector3fc up)Matrix4flookAt(Vector3fc eye, Vector3fc center, Vector3fc up, Matrix4f dest)Matrix4flookAtLH(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ)Matrix4flookAtLH(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ, Matrix4f dest)Matrix4flookAtLH(Vector3fc eye, Vector3fc center, Vector3fc up)Matrix4flookAtLH(Vector3fc eye, Vector3fc center, Vector3fc up, Matrix4f dest)Matrix4flookAtPerspective(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ, Matrix4f dest)Matrix4flookAtPerspectiveLH(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ, Matrix4f dest)floatm00()Matrix4fm00(float m00)floatm01()Matrix4fm01(float m01)floatm02()Matrix4fm02(float m02)floatm03()Matrix4fm03(float m03)floatm10()Matrix4fm10(float m10)floatm11()Matrix4fm11(float m11)floatm12()Matrix4fm12(float m12)floatm13()Matrix4fm13(float m13)floatm20()Matrix4fm20(float m20)floatm21()Matrix4fm21(float m21)floatm22()Matrix4fm22(float m22)floatm23()Matrix4fm23(float m23)floatm30()Matrix4fm30(float m30)floatm31()Matrix4fm31(float m31)floatm32()Matrix4fm32(float m32)floatm33()Matrix4fm33(float m33)Matrix4fmul(Matrix4fc right)Matrix4fmul(Matrix4fc right, Matrix4f dest)Matrix4fmul(Matrix4x3fc right, Matrix4f dest)Matrix4fmul4x3ComponentWise(Matrix4fc other)Matrix4fmul4x3ComponentWise(Matrix4fc other, Matrix4f dest)Matrix4fmulAffine(Matrix4fc right)Matrix4fmulAffine(Matrix4fc right, Matrix4f dest)Matrix4fmulAffineR(Matrix4fc right)Matrix4fmulAffineR(Matrix4fc right, Matrix4f dest)Matrix4fmulAffineR(Matrix4x3fc right)Matrix4fmulAffineR(Matrix4x3fc right, Matrix4f dest)Matrix4fmulComponentWise(Matrix4fc other)Matrix4fmulComponentWise(Matrix4fc other, Matrix4f dest)Matrix4fmulGeneric(Matrix4fc right, Matrix4f dest)Matrix4fmulOrthoAffine(Matrix4fc view)Matrix4fmulOrthoAffine(Matrix4fc view, Matrix4f dest)Matrix4fmulPerspectiveAffine(Matrix4fc view)Matrix4fmulPerspectiveAffine(Matrix4fc view, Matrix4f dest)Matrix4fmulPerspectiveAffine(Matrix4x3fc view)Matrix4fmulPerspectiveAffine(Matrix4x3fc view, Matrix4f dest)Matrix4fmulTranslationAffine(Matrix4fc right, Matrix4f dest)Matrix4fnormal()Matrix3fnormal(Matrix3f dest)Matrix4fnormal(Matrix4f dest)Matrix4fnormalize3x3()Matrix3fnormalize3x3(Matrix3f dest)Matrix4fnormalize3x3(Matrix4f dest)Vector3fnormalizedPositiveX(Vector3f dir)Vector3fnormalizedPositiveY(Vector3f dir)Vector3fnormalizedPositiveZ(Vector3f dir)Vector3forigin(Vector3f origin)Vector3foriginAffine(Vector3f origin)Matrix4fortho(float left, float right, float bottom, float top, float zNear, float zFar)Matrix4fortho(float left, float right, float bottom, float top, float zNear, float zFar, boolean zZeroToOne)Matrix4fortho(float left, float right, float bottom, float top, float zNear, float zFar, boolean zZeroToOne, Matrix4f dest)Matrix4fortho(float left, float right, float bottom, float top, float zNear, float zFar, Matrix4f dest)Matrix4fortho2D(float left, float right, float bottom, float top)Matrix4fortho2D(float left, float right, float bottom, float top, Matrix4f dest)Matrix4fortho2DLH(float left, float right, float bottom, float top)Matrix4fortho2DLH(float left, float right, float bottom, float top, Matrix4f dest)Matrix4forthoCrop(Matrix4fc view, Matrix4f dest)Matrix4forthoLH(float left, float right, float bottom, float top, float zNear, float zFar)Matrix4forthoLH(float left, float right, float bottom, float top, float zNear, float zFar, boolean zZeroToOne)Matrix4forthoLH(float left, float right, float bottom, float top, float zNear, float zFar, boolean zZeroToOne, Matrix4f dest)Matrix4forthoLH(float left, float right, float bottom, float top, float zNear, float zFar, Matrix4f dest)Matrix4forthoSymmetric(float width, float height, float zNear, float zFar)Matrix4forthoSymmetric(float width, float height, float zNear, float zFar, boolean zZeroToOne)Matrix4forthoSymmetric(float width, float height, float zNear, float zFar, boolean zZeroToOne, Matrix4f dest)Matrix4forthoSymmetric(float width, float height, float zNear, float zFar, Matrix4f dest)Matrix4forthoSymmetricLH(float width, float height, float zNear, float zFar)Matrix4forthoSymmetricLH(float width, float height, float zNear, float zFar, boolean zZeroToOne)Matrix4forthoSymmetricLH(float width, float height, float zNear, float zFar, boolean zZeroToOne, Matrix4f dest)Matrix4forthoSymmetricLH(float width, float height, float zNear, float zFar, Matrix4f dest)Matrix4fperspective(float fovy, float aspect, float zNear, float zFar)Matrix4fperspective(float fovy, float aspect, float zNear, float zFar, boolean zZeroToOne)Matrix4fperspective(float fovy, float aspect, float zNear, float zFar, boolean zZeroToOne, Matrix4f dest)Matrix4fperspective(float fovy, float aspect, float zNear, float zFar, Matrix4f dest)floatperspectiveFar()floatperspectiveFov()Matrix4fperspectiveFrustumSlice(float near, float far, Matrix4f dest)Matrix4fperspectiveLH(float fovy, float aspect, float zNear, float zFar)Matrix4fperspectiveLH(float fovy, float aspect, float zNear, float zFar, boolean zZeroToOne)Matrix4fperspectiveLH(float fovy, float aspect, float zNear, float zFar, boolean zZeroToOne, Matrix4f dest)Matrix4fperspectiveLH(float fovy, float aspect, float zNear, float zFar, Matrix4f dest)floatperspectiveNear()Vector3fperspectiveOrigin(Vector3f origin)Matrix4fpick(float x, float y, float width, float height, int[] viewport)Matrix4fpick(float x, float y, float width, float height, int[] viewport, Matrix4f dest)Vector3fpositiveX(Vector3f dir)Vector3fpositiveY(Vector3f dir)Vector3fpositiveZ(Vector3f dir)Vector3fproject(float x, float y, float z, int[] viewport, Vector3f winCoordsDest)Vector4fproject(float x, float y, float z, int[] viewport, Vector4f winCoordsDest)Vector3fproject(Vector3fc position, int[] viewport, Vector3f winCoordsDest)Vector4fproject(Vector3fc position, int[] viewport, Vector4f winCoordsDest)Matrix4fprojectedGridRange(Matrix4fc projector, float sLower, float sUpper, Matrix4f dest)byteproperties()voidreadExternal(java.io.ObjectInput in)Matrix4freflect(float a, float b, float c, float d)Matrix4freflect(float nx, float ny, float nz, float px, float py, float pz)Matrix4freflect(float nx, float ny, float nz, float px, float py, float pz, Matrix4f dest)Matrix4freflect(float a, float b, float c, float d, Matrix4f dest)Matrix4freflect(Quaternionfc orientation, Vector3fc point)Matrix4freflect(Quaternionfc orientation, Vector3fc point, Matrix4f dest)Matrix4freflect(Vector3fc normal, Vector3fc point)Matrix4freflect(Vector3fc normal, Vector3fc point, Matrix4f dest)Matrix4freflection(float a, float b, float c, float d)Matrix4freflection(float nx, float ny, float nz, float px, float py, float pz)Matrix4freflection(Quaternionfc orientation, Vector3fc point)Matrix4freflection(Vector3fc normal, Vector3fc point)Matrix4frotate(float ang, float x, float y, float z)Matrix4frotate(float ang, float x, float y, float z, Matrix4f dest)Matrix4frotate(float angle, Vector3fc axis)Matrix4frotate(float angle, Vector3fc axis, Matrix4f dest)Matrix4frotate(AxisAngle4f axisAngle)Matrix4frotate(AxisAngle4f axisAngle, Matrix4f dest)Matrix4frotate(Quaternionfc quat)Matrix4frotate(Quaternionfc quat, Matrix4f dest)Matrix4frotateAffine(float ang, float x, float y, float z)Matrix4frotateAffine(float ang, float x, float y, float z, Matrix4f dest)Matrix4frotateAffine(Quaternionfc quat)Matrix4frotateAffine(Quaternionfc quat, Matrix4f dest)Matrix4frotateAffineXYZ(float angleX, float angleY, float angleZ)Matrix4frotateAffineXYZ(float angleX, float angleY, float angleZ, Matrix4f dest)Matrix4frotateAffineYXZ(float angleY, float angleX, float angleZ)Matrix4frotateAffineYXZ(float angleY, float angleX, float angleZ, Matrix4f dest)Matrix4frotateAffineZYX(float angleZ, float angleY, float angleX)Matrix4frotateAffineZYX(float angleZ, float angleY, float angleX, Matrix4f dest)Matrix4frotateAround(Quaternionfc quat, float ox, float oy, float oz)Matrix4frotateAround(Quaternionfc quat, float ox, float oy, float oz, Matrix4f dest)Matrix4frotateAroundLocal(Quaternionfc quat, float ox, float oy, float oz)Matrix4frotateAroundLocal(Quaternionfc quat, float ox, float oy, float oz, Matrix4f dest)Matrix4frotateLocal(float ang, float x, float y, float z)Matrix4frotateLocal(float ang, float x, float y, float z, Matrix4f dest)Matrix4frotateLocal(Quaternionfc quat)Matrix4frotateLocal(Quaternionfc quat, Matrix4f dest)Matrix4frotateTowards(float dirX, float dirY, float dirZ, float upX, float upY, float upZ)Matrix4frotateTowards(float dirX, float dirY, float dirZ, float upX, float upY, float upZ, Matrix4f dest)Matrix4frotateTowards(Vector3fc dir, Vector3fc up)Matrix4frotateTowards(Vector3fc dir, Vector3fc up, Matrix4f dest)Matrix4frotateTranslation(float ang, float x, float y, float z, Matrix4f dest)Matrix4frotateTranslation(Quaternionfc quat, Matrix4f dest)Matrix4frotateX(float ang)Matrix4frotateX(float ang, Matrix4f dest)Matrix4frotateXYZ(float angleX, float angleY, float angleZ)Matrix4frotateXYZ(float angleX, float angleY, float angleZ, Matrix4f dest)Matrix4frotateXYZ(Vector3f angles)Matrix4frotateY(float ang)Matrix4frotateY(float ang, Matrix4f dest)Matrix4frotateYXZ(float angleY, float angleX, float angleZ)Matrix4frotateYXZ(float angleY, float angleX, float angleZ, Matrix4f dest)Matrix4frotateYXZ(Vector3f angles)Matrix4frotateZ(float ang)Matrix4frotateZ(float ang, Matrix4f dest)Matrix4frotateZYX(float angleZ, float angleY, float angleX)Matrix4frotateZYX(float angleZ, float angleY, float angleX, Matrix4f dest)Matrix4frotateZYX(Vector3f angles)Matrix4frotation(float angle, float x, float y, float z)Matrix4frotation(float angle, Vector3fc axis)Matrix4frotation(AxisAngle4f axisAngle)Matrix4frotation(Quaternionfc quat)Matrix4frotationTowards(float dirX, float dirY, float dirZ, float upX, float upY, float upZ)Matrix4frotationTowards(Vector3fc dir, Vector3fc up)Matrix4frotationX(float ang)Matrix4frotationXYZ(float angleX, float angleY, float angleZ)Matrix4frotationY(float ang)Matrix4frotationYXZ(float angleY, float angleX, float angleZ)Matrix4frotationZ(float ang)Matrix4frotationZYX(float angleZ, float angleY, float angleX)Matrix4fscale(float xyz)Matrix4fscale(float x, float y, float z)Matrix4fscale(float x, float y, float z, Matrix4f dest)Matrix4fscale(float xyz, Matrix4f dest)Matrix4fscale(Vector3fc xyz)Matrix4fscale(Vector3fc xyz, Matrix4f dest)Matrix4fscaleAround(float factor, float ox, float oy, float oz)Matrix4fscaleAround(float sx, float sy, float sz, float ox, float oy, float oz)Matrix4fscaleAround(float sx, float sy, float sz, float ox, float oy, float oz, Matrix4f dest)Matrix4fscaleAround(float factor, float ox, float oy, float oz, Matrix4f dest)Matrix4fscaleAroundLocal(float factor, float ox, float oy, float oz)Matrix4fscaleAroundLocal(float sx, float sy, float sz, float ox, float oy, float oz)Matrix4fscaleAroundLocal(float sx, float sy, float sz, float ox, float oy, float oz, Matrix4f dest)Matrix4fscaleAroundLocal(float factor, float ox, float oy, float oz, Matrix4f dest)Matrix4fscaleLocal(float x, float y, float z)Matrix4fscaleLocal(float x, float y, float z, Matrix4f dest)Matrix4fscaling(float factor)Matrix4fscaling(float x, float y, float z)Matrix4fscaling(Vector3fc xyz)Matrix4fset(float[] m)Matrix4fset(float[] m, int off)Matrix4fset(float m00, float m01, float m02, float m03, float m10, float m11, float m12, float m13, float m20, float m21, float m22, float m23, float m30, float m31, float m32, float m33)Matrix4fset(java.nio.ByteBuffer buffer)Matrix4fset(java.nio.FloatBuffer buffer)Matrix4fset(AxisAngle4d axisAngle)Matrix4fset(AxisAngle4f axisAngle)Matrix4fset(Matrix3fc mat)Matrix4fset(Matrix4dc m)Matrix4fset(Matrix4fc m)Matrix4fset(Matrix4x3fc m)Matrix4fset(Quaterniondc q)Matrix4fset(Quaternionfc q)Matrix4fset(Vector4fc col0, Vector4fc col1, Vector4fc col2, Vector4fc col3)Matrix4fset3x3(Matrix3fc mat)Matrix4fset3x3(Matrix4f mat)Matrix4fset4x3(Matrix4f mat)Matrix4fset4x3(Matrix4x3fc mat)Matrix4fsetColumn(int column, Vector4fc src)Matrix4fsetFrustum(float left, float right, float bottom, float top, float zNear, float zFar)Matrix4fsetFrustum(float left, float right, float bottom, float top, float zNear, float zFar, boolean zZeroToOne)Matrix4fsetFrustumLH(float left, float right, float bottom, float top, float zNear, float zFar)Matrix4fsetFrustumLH(float left, float right, float bottom, float top, float zNear, float zFar, boolean zZeroToOne)Matrix4fsetLookAlong(float dirX, float dirY, float dirZ, float upX, float upY, float upZ)Matrix4fsetLookAlong(Vector3fc dir, Vector3fc up)Matrix4fsetLookAt(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ)Matrix4fsetLookAt(Vector3fc eye, Vector3fc center, Vector3fc up)Matrix4fsetLookAtLH(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ)Matrix4fsetLookAtLH(Vector3fc eye, Vector3fc center, Vector3fc up)Matrix4fsetOrtho(float left, float right, float bottom, float top, float zNear, float zFar)Matrix4fsetOrtho(float left, float right, float bottom, float top, float zNear, float zFar, boolean zZeroToOne)Matrix4fsetOrtho2D(float left, float right, float bottom, float top)Matrix4fsetOrtho2DLH(float left, float right, float bottom, float top)Matrix4fsetOrthoLH(float left, float right, float bottom, float top, float zNear, float zFar)Matrix4fsetOrthoLH(float left, float right, float bottom, float top, float zNear, float zFar, boolean zZeroToOne)Matrix4fsetOrthoSymmetric(float width, float height, float zNear, float zFar)Matrix4fsetOrthoSymmetric(float width, float height, float zNear, float zFar, boolean zZeroToOne)Matrix4fsetOrthoSymmetricLH(float width, float height, float zNear, float zFar)Matrix4fsetOrthoSymmetricLH(float width, float height, float zNear, float zFar, boolean zZeroToOne)Matrix4fsetPerspective(float fovy, float aspect, float zNear, float zFar)Matrix4fsetPerspective(float fovy, float aspect, float zNear, float zFar, boolean zZeroToOne)Matrix4fsetPerspectiveLH(float fovy, float aspect, float zNear, float zFar)Matrix4fsetPerspectiveLH(float fovy, float aspect, float zNear, float zFar, boolean zZeroToOne)Matrix4fsetRotationXYZ(float angleX, float angleY, float angleZ)Matrix4fsetRotationYXZ(float angleY, float angleX, float angleZ)Matrix4fsetRotationZYX(float angleZ, float angleY, float angleX)Matrix4fsetRow(int row, Vector4fc src)Matrix4fsetTranslation(float x, float y, float z)Matrix4fsetTranslation(Vector3fc xyz)Matrix4fshadow(float lightX, float lightY, float lightZ, float lightW, float a, float b, float c, float d)Matrix4fshadow(float lightX, float lightY, float lightZ, float lightW, float a, float b, float c, float d, Matrix4f dest)Matrix4fshadow(float lightX, float lightY, float lightZ, float lightW, Matrix4f planeTransform)Matrix4fshadow(float lightX, float lightY, float lightZ, float lightW, Matrix4fc planeTransform, Matrix4f dest)Matrix4fshadow(Vector4f light, float a, float b, float c, float d)Matrix4fshadow(Vector4f light, float a, float b, float c, float d, Matrix4f dest)Matrix4fshadow(Vector4f light, Matrix4f planeTransform)Matrix4fshadow(Vector4f light, Matrix4fc planeTransform, Matrix4f dest)Matrix4fsub(Matrix4f subtrahend)Matrix4fsub(Matrix4fc subtrahend, Matrix4f dest)Matrix4fsub4x3(Matrix4f subtrahend)Matrix4fsub4x3(Matrix4fc subtrahend, Matrix4f dest)Matrix4fswap(Matrix4f other)Matrix4fctoImmutable()java.lang.StringtoString()java.lang.StringtoString(java.text.NumberFormat formatter)Vector4ftransform(float x, float y, float z, float w, Vector4f dest)Vector4ftransform(Vector4f v)Vector4ftransform(Vector4fc v, Vector4f dest)Matrix4ftransformAab(float minX, float minY, float minZ, float maxX, float maxY, float maxZ, Vector3f outMin, Vector3f outMax)Matrix4ftransformAab(Vector3fc min, Vector3fc max, Vector3f outMin, Vector3f outMax)Vector4ftransformAffine(float x, float y, float z, float w, Vector4f dest)Vector4ftransformAffine(Vector4f v)Vector4ftransformAffine(Vector4fc v, Vector4f dest)Vector3ftransformDirection(float x, float y, float z, Vector3f dest)Vector3ftransformDirection(Vector3f v)Vector3ftransformDirection(Vector3fc v, Vector3f dest)Vector3ftransformPosition(float x, float y, float z, Vector3f dest)Vector3ftransformPosition(Vector3f v)Vector3ftransformPosition(Vector3fc v, Vector3f dest)Vector4ftransformProject(float x, float y, float z, float w, Vector4f dest)Vector3ftransformProject(float x, float y, float z, Vector3f dest)Vector3ftransformProject(Vector3f v)Vector3ftransformProject(Vector3fc v, Vector3f dest)Vector4ftransformProject(Vector4f v)Vector4ftransformProject(Vector4fc v, Vector4f dest)Matrix4ftranslate(float x, float y, float z)Matrix4ftranslate(float x, float y, float z, Matrix4f dest)Matrix4ftranslate(Vector3fc offset)Matrix4ftranslate(Vector3fc offset, Matrix4f dest)Matrix4ftranslateLocal(float x, float y, float z)Matrix4ftranslateLocal(float x, float y, float z, Matrix4f dest)Matrix4ftranslateLocal(Vector3fc offset)Matrix4ftranslateLocal(Vector3fc offset, Matrix4f dest)Matrix4ftranslation(float x, float y, float z)Matrix4ftranslation(Vector3fc offset)Matrix4ftranslationRotate(float tx, float ty, float tz, float qx, float qy, float qz, float qw)Matrix4ftranslationRotate(float tx, float ty, float tz, Quaternionfc quat)Matrix4ftranslationRotateScale(float tx, float ty, float tz, float qx, float qy, float qz, float qw, float scale)Matrix4ftranslationRotateScale(float tx, float ty, float tz, float qx, float qy, float qz, float qw, float sx, float sy, float sz)Matrix4ftranslationRotateScale(Vector3fc translation, Quaternionfc quat, float scale)Matrix4ftranslationRotateScale(Vector3fc translation, Quaternionfc quat, Vector3fc scale)Matrix4ftranslationRotateScaleInvert(float tx, float ty, float tz, float qx, float qy, float qz, float qw, float sx, float sy, float sz)Matrix4ftranslationRotateScaleInvert(Vector3fc translation, Quaternionfc quat, float scale)Matrix4ftranslationRotateScaleInvert(Vector3fc translation, Quaternionfc quat, Vector3fc scale)Matrix4ftranslationRotateScaleMulAffine(float tx, float ty, float tz, float qx, float qy, float qz, float qw, float sx, float sy, float sz, Matrix4f m)Matrix4ftranslationRotateScaleMulAffine(Vector3fc translation, Quaternionfc quat, Vector3fc scale, Matrix4f m)Matrix4ftranslationRotateTowards(float posX, float posY, float posZ, float dirX, float dirY, float dirZ, float upX, float upY, float upZ)Matrix4ftranslationRotateTowards(Vector3fc pos, Vector3fc dir, Vector3fc up)Matrix4ftranspose()Matrix4ftranspose(Matrix4f dest)Matrix4ftranspose3x3()Matrix3ftranspose3x3(Matrix3f dest)Matrix4ftranspose3x3(Matrix4f dest)Matrix4ftrapezoidCrop(float p0x, float p0y, float p1x, float p1y, float p2x, float p2y, float p3x, float p3y)Vector3funproject(float winX, float winY, float winZ, int[] viewport, Vector3f dest)Vector4funproject(float winX, float winY, float winZ, int[] viewport, Vector4f dest)Vector3funproject(Vector3fc winCoords, int[] viewport, Vector3f dest)Vector4funproject(Vector3fc winCoords, int[] viewport, Vector4f dest)Vector3funprojectInv(float winX, float winY, float winZ, int[] viewport, Vector3f dest)Vector4funprojectInv(float winX, float winY, float winZ, int[] viewport, Vector4f dest)Vector3funprojectInv(Vector3fc winCoords, int[] viewport, Vector3f dest)Vector4funprojectInv(Vector3fc winCoords, int[] viewport, Vector4f dest)Matrix4funprojectInvRay(float winX, float winY, int[] viewport, Vector3f originDest, Vector3f dirDest)Matrix4funprojectInvRay(Vector2fc winCoords, int[] viewport, Vector3f originDest, Vector3f dirDest)Matrix4funprojectRay(float winX, float winY, int[] viewport, Vector3f originDest, Vector3f dirDest)Matrix4funprojectRay(Vector2fc winCoords, int[] viewport, Vector3f originDest, Vector3f dirDest)voidwriteExternal(java.io.ObjectOutput out)Matrix4fzero()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
Matrix4f
public Matrix4f() -
Matrix4f
-
Matrix4f
-
Matrix4f
-
Matrix4f
-
Matrix4f
public Matrix4f(float m00, float m01, float m02, float m03, float m10, float m11, float m12, float m13, float m20, float m21, float m22, float m23, float m30, float m31, float m32, float m33) -
Matrix4f
public Matrix4f(java.nio.FloatBuffer buffer) -
Matrix4f
-
-
Method Details
-
assumeNothing
-
assumeAffine
-
assumePerspective
-
properties
public byte properties()- Specified by:
propertiesin interfaceMatrix4fc
-
m00
public float m00() -
m01
public float m01() -
m02
public float m02() -
m03
public float m03() -
m10
public float m10() -
m11
public float m11() -
m12
public float m12() -
m13
public float m13() -
m20
public float m20() -
m21
public float m21() -
m22
public float m22() -
m23
public float m23() -
m30
public float m30() -
m31
public float m31() -
m32
public float m32() -
m33
public float m33() -
m00
-
m01
-
m02
-
m03
-
m10
-
m11
-
m12
-
m13
-
m20
-
m21
-
m22
-
m23
-
m30
-
m31
-
m32
-
m33
-
identity
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set3x3
-
set4x3
-
set4x3
-
mul
-
mul
-
mulGeneric
-
mul
-
mulPerspectiveAffine
-
mulPerspectiveAffine
- Specified by:
mulPerspectiveAffinein interfaceMatrix4fc
-
mulPerspectiveAffine
-
mulPerspectiveAffine
- Specified by:
mulPerspectiveAffinein interfaceMatrix4fc
-
mulAffineR
-
mulAffineR
- Specified by:
mulAffineRin interfaceMatrix4fc
-
mulAffineR
-
mulAffineR
- Specified by:
mulAffineRin interfaceMatrix4fc
-
mulAffine
-
mulAffine
-
mulTranslationAffine
- Specified by:
mulTranslationAffinein interfaceMatrix4fc
-
mulOrthoAffine
-
mulOrthoAffine
- Specified by:
mulOrthoAffinein interfaceMatrix4fc
-
fma4x3
-
fma4x3
-
add
-
add
-
sub
-
sub
-
mulComponentWise
-
mulComponentWise
- Specified by:
mulComponentWisein interfaceMatrix4fc
-
add4x3
-
add4x3
-
sub4x3
-
sub4x3
-
mul4x3ComponentWise
-
mul4x3ComponentWise
- Specified by:
mul4x3ComponentWisein interfaceMatrix4fc
-
set
public Matrix4f set(float m00, float m01, float m02, float m03, float m10, float m11, float m12, float m13, float m20, float m21, float m22, float m23, float m30, float m31, float m32, float m33) -
set
-
set
-
set
-
set
-
set
-
determinant
public float determinant()- Specified by:
determinantin interfaceMatrix4fc
-
determinant3x3
public float determinant3x3()- Specified by:
determinant3x3in interfaceMatrix4fc
-
determinantAffine
public float determinantAffine()- Specified by:
determinantAffinein interfaceMatrix4fc
-
invert
-
invert
-
invertPerspective
- Specified by:
invertPerspectivein interfaceMatrix4fc
-
invertPerspective
-
invertFrustum
- Specified by:
invertFrustumin interfaceMatrix4fc
-
invertFrustum
-
invertOrtho
- Specified by:
invertOrthoin interfaceMatrix4fc
-
invertOrtho
-
invertPerspectiveView
- Specified by:
invertPerspectiveViewin interfaceMatrix4fc
-
invertPerspectiveView
- Specified by:
invertPerspectiveViewin interfaceMatrix4fc
-
invertAffine
- Specified by:
invertAffinein interfaceMatrix4fc
-
invertAffine
-
invertAffineUnitScale
- Specified by:
invertAffineUnitScalein interfaceMatrix4fc
-
invertAffineUnitScale
-
invertLookAt
- Specified by:
invertLookAtin interfaceMatrix4fc
-
invertLookAt
-
transpose
-
transpose3x3
-
transpose3x3
- Specified by:
transpose3x3in interfaceMatrix4fc
-
transpose3x3
- Specified by:
transpose3x3in interfaceMatrix4fc
-
transpose
-
translation
-
translation
-
setTranslation
-
setTranslation
-
getTranslation
- Specified by:
getTranslationin interfaceMatrix4fc
-
getScale
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
toString
public java.lang.String toString(java.text.NumberFormat formatter) -
get
-
get4x3
-
get
-
get3x3
-
get3x3
-
getRotation
- Specified by:
getRotationin interfaceMatrix4fc
-
getRotation
- Specified by:
getRotationin interfaceMatrix4fc
-
getUnnormalizedRotation
- Specified by:
getUnnormalizedRotationin interfaceMatrix4fc
-
getNormalizedRotation
- Specified by:
getNormalizedRotationin interfaceMatrix4fc
-
getUnnormalizedRotation
- Specified by:
getUnnormalizedRotationin interfaceMatrix4fc
-
getNormalizedRotation
- Specified by:
getNormalizedRotationin interfaceMatrix4fc
-
get
public java.nio.FloatBuffer get(java.nio.FloatBuffer buffer) -
get
public java.nio.FloatBuffer get(int index, java.nio.FloatBuffer buffer) -
get
public java.nio.ByteBuffer get(java.nio.ByteBuffer buffer) -
get
public java.nio.ByteBuffer get(int index, java.nio.ByteBuffer buffer) -
getTransposed
public java.nio.FloatBuffer getTransposed(java.nio.FloatBuffer buffer)- Specified by:
getTransposedin interfaceMatrix4fc
-
getTransposed
public java.nio.FloatBuffer getTransposed(int index, java.nio.FloatBuffer buffer)- Specified by:
getTransposedin interfaceMatrix4fc
-
getTransposed
public java.nio.ByteBuffer getTransposed(java.nio.ByteBuffer buffer)- Specified by:
getTransposedin interfaceMatrix4fc
-
getTransposed
public java.nio.ByteBuffer getTransposed(int index, java.nio.ByteBuffer buffer)- Specified by:
getTransposedin interfaceMatrix4fc
-
get4x3Transposed
public java.nio.FloatBuffer get4x3Transposed(java.nio.FloatBuffer buffer)- Specified by:
get4x3Transposedin interfaceMatrix4fc
-
get4x3Transposed
public java.nio.FloatBuffer get4x3Transposed(int index, java.nio.FloatBuffer buffer)- Specified by:
get4x3Transposedin interfaceMatrix4fc
-
get4x3Transposed
public java.nio.ByteBuffer get4x3Transposed(java.nio.ByteBuffer buffer)- Specified by:
get4x3Transposedin interfaceMatrix4fc
-
get4x3Transposed
public java.nio.ByteBuffer get4x3Transposed(int index, java.nio.ByteBuffer buffer)- Specified by:
get4x3Transposedin interfaceMatrix4fc
-
get
public float[] get(float[] arr, int offset) -
get
public float[] get(float[] arr) -
zero
-
scaling
-
scaling
-
scaling
-
rotation
-
rotation
-
rotation
-
rotationX
-
rotationY
-
rotationZ
-
rotationXYZ
-
rotationZYX
-
rotationYXZ
-
setRotationXYZ
-
setRotationZYX
-
setRotationYXZ
-
rotation
-
translationRotateScale
public Matrix4f translationRotateScale(float tx, float ty, float tz, float qx, float qy, float qz, float qw, float sx, float sy, float sz) -
translationRotateScale
-
translationRotateScale
public Matrix4f translationRotateScale(float tx, float ty, float tz, float qx, float qy, float qz, float qw, float scale) -
translationRotateScale
-
translationRotateScaleInvert
public Matrix4f translationRotateScaleInvert(float tx, float ty, float tz, float qx, float qy, float qz, float qw, float sx, float sy, float sz) -
translationRotateScaleInvert
public Matrix4f translationRotateScaleInvert(Vector3fc translation, Quaternionfc quat, Vector3fc scale) -
translationRotateScaleInvert
public Matrix4f translationRotateScaleInvert(Vector3fc translation, Quaternionfc quat, float scale) -
translationRotateScaleMulAffine
-
translationRotateScaleMulAffine
public Matrix4f translationRotateScaleMulAffine(Vector3fc translation, Quaternionfc quat, Vector3fc scale, Matrix4f m) -
translationRotate
public Matrix4f translationRotate(float tx, float ty, float tz, float qx, float qy, float qz, float qw) -
translationRotate
-
set3x3
-
transform
-
transform
-
transform
-
transformProject
- Specified by:
transformProjectin interfaceMatrix4fc
-
transformProject
- Specified by:
transformProjectin interfaceMatrix4fc
-
transformProject
- Specified by:
transformProjectin interfaceMatrix4fc
-
transformProject
- Specified by:
transformProjectin interfaceMatrix4fc
-
transformProject
- Specified by:
transformProjectin interfaceMatrix4fc
-
transformProject
- Specified by:
transformProjectin interfaceMatrix4fc
-
transformPosition
- Specified by:
transformPositionin interfaceMatrix4fc
-
transformPosition
- Specified by:
transformPositionin interfaceMatrix4fc
-
transformPosition
- Specified by:
transformPositionin interfaceMatrix4fc
-
transformDirection
- Specified by:
transformDirectionin interfaceMatrix4fc
-
transformDirection
- Specified by:
transformDirectionin interfaceMatrix4fc
-
transformDirection
- Specified by:
transformDirectionin interfaceMatrix4fc
-
transformAffine
- Specified by:
transformAffinein interfaceMatrix4fc
-
transformAffine
- Specified by:
transformAffinein interfaceMatrix4fc
-
transformAffine
- Specified by:
transformAffinein interfaceMatrix4fc
-
scale
-
scale
-
scale
-
scale
-
scale
-
scale
-
scaleAround
public Matrix4f scaleAround(float sx, float sy, float sz, float ox, float oy, float oz, Matrix4f dest)- Specified by:
scaleAroundin interfaceMatrix4fc
-
scaleAround
-
scaleAround
-
scaleAround
- Specified by:
scaleAroundin interfaceMatrix4fc
-
scaleLocal
- Specified by:
scaleLocalin interfaceMatrix4fc
-
scaleLocal
-
scaleAroundLocal
public Matrix4f scaleAroundLocal(float sx, float sy, float sz, float ox, float oy, float oz, Matrix4f dest)- Specified by:
scaleAroundLocalin interfaceMatrix4fc
-
scaleAroundLocal
-
scaleAroundLocal
-
scaleAroundLocal
- Specified by:
scaleAroundLocalin interfaceMatrix4fc
-
rotateX
-
rotateX
-
rotateY
-
rotateY
-
rotateZ
-
rotateZ
-
rotateXYZ
-
rotateXYZ
-
rotateXYZ
-
rotateAffineXYZ
-
rotateAffineXYZ
- Specified by:
rotateAffineXYZin interfaceMatrix4fc
-
rotateZYX
-
rotateZYX
-
rotateZYX
-
rotateAffineZYX
-
rotateAffineZYX
- Specified by:
rotateAffineZYXin interfaceMatrix4fc
-
rotateYXZ
-
rotateYXZ
-
rotateYXZ
-
rotateAffineYXZ
-
rotateAffineYXZ
- Specified by:
rotateAffineYXZin interfaceMatrix4fc
-
rotate
-
rotate
-
rotateTranslation
- Specified by:
rotateTranslationin interfaceMatrix4fc
-
rotateAffine
- Specified by:
rotateAffinein interfaceMatrix4fc
-
rotateAffine
-
rotateLocal
- Specified by:
rotateLocalin interfaceMatrix4fc
-
rotateLocal
-
translate
-
translate
-
translate
-
translate
-
translateLocal
-
translateLocal
- Specified by:
translateLocalin interfaceMatrix4fc
-
translateLocal
- Specified by:
translateLocalin interfaceMatrix4fc
-
translateLocal
-
writeExternal
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException- Specified by:
writeExternalin interfacejava.io.Externalizable- Throws:
java.io.IOException
-
readExternal
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException- Specified by:
readExternalin interfacejava.io.Externalizable- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
ortho
-
ortho
-
ortho
public Matrix4f ortho(float left, float right, float bottom, float top, float zNear, float zFar, boolean zZeroToOne) -
ortho
-
orthoLH
-
orthoLH
-
orthoLH
public Matrix4f orthoLH(float left, float right, float bottom, float top, float zNear, float zFar, boolean zZeroToOne) -
orthoLH
-
setOrtho
public Matrix4f setOrtho(float left, float right, float bottom, float top, float zNear, float zFar, boolean zZeroToOne) -
setOrtho
public Matrix4f setOrtho(float left, float right, float bottom, float top, float zNear, float zFar) -
setOrthoLH
public Matrix4f setOrthoLH(float left, float right, float bottom, float top, float zNear, float zFar, boolean zZeroToOne) -
setOrthoLH
public Matrix4f setOrthoLH(float left, float right, float bottom, float top, float zNear, float zFar) -
orthoSymmetric
public Matrix4f orthoSymmetric(float width, float height, float zNear, float zFar, boolean zZeroToOne, Matrix4f dest)- Specified by:
orthoSymmetricin interfaceMatrix4fc
-
orthoSymmetric
- Specified by:
orthoSymmetricin interfaceMatrix4fc
-
orthoSymmetric
public Matrix4f orthoSymmetric(float width, float height, float zNear, float zFar, boolean zZeroToOne) -
orthoSymmetric
-
orthoSymmetricLH
public Matrix4f orthoSymmetricLH(float width, float height, float zNear, float zFar, boolean zZeroToOne, Matrix4f dest)- Specified by:
orthoSymmetricLHin interfaceMatrix4fc
-
orthoSymmetricLH
public Matrix4f orthoSymmetricLH(float width, float height, float zNear, float zFar, Matrix4f dest)- Specified by:
orthoSymmetricLHin interfaceMatrix4fc
-
orthoSymmetricLH
public Matrix4f orthoSymmetricLH(float width, float height, float zNear, float zFar, boolean zZeroToOne) -
orthoSymmetricLH
-
setOrthoSymmetric
public Matrix4f setOrthoSymmetric(float width, float height, float zNear, float zFar, boolean zZeroToOne) -
setOrthoSymmetric
-
setOrthoSymmetricLH
public Matrix4f setOrthoSymmetricLH(float width, float height, float zNear, float zFar, boolean zZeroToOne) -
setOrthoSymmetricLH
-
ortho2D
-
ortho2D
-
ortho2DLH
-
ortho2DLH
-
setOrtho2D
-
setOrtho2DLH
-
lookAlong
-
lookAlong
-
lookAlong
-
lookAlong
-
setLookAlong
-
setLookAlong
-
setLookAt
-
setLookAt
public Matrix4f setLookAt(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ) -
lookAt
-
lookAt
-
lookAt
-
lookAtPerspective
public Matrix4f lookAtPerspective(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ, Matrix4f dest)- Specified by:
lookAtPerspectivein interfaceMatrix4fc
-
lookAt
public Matrix4f lookAt(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ) -
setLookAtLH
-
setLookAtLH
public Matrix4f setLookAtLH(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ) -
lookAtLH
-
lookAtLH
-
lookAtLH
-
lookAtLH
public Matrix4f lookAtLH(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ) -
lookAtPerspectiveLH
public Matrix4f lookAtPerspectiveLH(float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ, Matrix4f dest)- Specified by:
lookAtPerspectiveLHin interfaceMatrix4fc
-
perspective
public Matrix4f perspective(float fovy, float aspect, float zNear, float zFar, boolean zZeroToOne, Matrix4f dest)- Specified by:
perspectivein interfaceMatrix4fc
-
perspective
- Specified by:
perspectivein interfaceMatrix4fc
-
perspective
-
perspective
-
setPerspective
public Matrix4f setPerspective(float fovy, float aspect, float zNear, float zFar, boolean zZeroToOne) -
setPerspective
-
perspectiveLH
public Matrix4f perspectiveLH(float fovy, float aspect, float zNear, float zFar, boolean zZeroToOne, Matrix4f dest)- Specified by:
perspectiveLHin interfaceMatrix4fc
-
perspectiveLH
public Matrix4f perspectiveLH(float fovy, float aspect, float zNear, float zFar, boolean zZeroToOne) -
perspectiveLH
- Specified by:
perspectiveLHin interfaceMatrix4fc
-
perspectiveLH
-
setPerspectiveLH
public Matrix4f setPerspectiveLH(float fovy, float aspect, float zNear, float zFar, boolean zZeroToOne) -
setPerspectiveLH
-
frustum
-
frustum
-
frustum
public Matrix4f frustum(float left, float right, float bottom, float top, float zNear, float zFar, boolean zZeroToOne) -
frustum
-
setFrustum
public Matrix4f setFrustum(float left, float right, float bottom, float top, float zNear, float zFar, boolean zZeroToOne) -
setFrustum
public Matrix4f setFrustum(float left, float right, float bottom, float top, float zNear, float zFar) -
frustumLH
-
frustumLH
public Matrix4f frustumLH(float left, float right, float bottom, float top, float zNear, float zFar, boolean zZeroToOne) -
frustumLH
-
frustumLH
public Matrix4f frustumLH(float left, float right, float bottom, float top, float zNear, float zFar) -
setFrustumLH
public Matrix4f setFrustumLH(float left, float right, float bottom, float top, float zNear, float zFar, boolean zZeroToOne) -
setFrustumLH
public Matrix4f setFrustumLH(float left, float right, float bottom, float top, float zNear, float zFar) -
rotate
-
rotate
-
rotateAffine
- Specified by:
rotateAffinein interfaceMatrix4fc
-
rotateAffine
-
rotateTranslation
- Specified by:
rotateTranslationin interfaceMatrix4fc
-
rotateAround
-
rotateAround
- Specified by:
rotateAroundin interfaceMatrix4fc
-
rotateLocal
- Specified by:
rotateLocalin interfaceMatrix4fc
-
rotateLocal
-
rotateAroundLocal
- Specified by:
rotateAroundLocalin interfaceMatrix4fc
-
rotateAroundLocal
-
rotate
-
rotate
-
rotate
-
rotate
-
unproject
-
unproject
-
unproject
-
unproject
-
unprojectRay
public Matrix4f unprojectRay(float winX, float winY, int[] viewport, Vector3f originDest, Vector3f dirDest)- Specified by:
unprojectRayin interfaceMatrix4fc
-
unprojectRay
public Matrix4f unprojectRay(Vector2fc winCoords, int[] viewport, Vector3f originDest, Vector3f dirDest)- Specified by:
unprojectRayin interfaceMatrix4fc
-
unprojectInv
- Specified by:
unprojectInvin interfaceMatrix4fc
-
unprojectInv
- Specified by:
unprojectInvin interfaceMatrix4fc
-
unprojectInvRay
public Matrix4f unprojectInvRay(Vector2fc winCoords, int[] viewport, Vector3f originDest, Vector3f dirDest)- Specified by:
unprojectInvRayin interfaceMatrix4fc
-
unprojectInvRay
public Matrix4f unprojectInvRay(float winX, float winY, int[] viewport, Vector3f originDest, Vector3f dirDest)- Specified by:
unprojectInvRayin interfaceMatrix4fc
-
unprojectInv
- Specified by:
unprojectInvin interfaceMatrix4fc
-
unprojectInv
- Specified by:
unprojectInvin interfaceMatrix4fc
-
project
-
project
-
project
-
project
-
reflect
-
reflect
-
reflect
-
reflect
-
reflect
-
reflect
-
reflect
-
reflect
-
reflection
-
reflection
-
reflection
-
reflection
-
getRow
-
setRow
- Throws:
java.lang.IndexOutOfBoundsException
-
getColumn
-
setColumn
- Throws:
java.lang.IndexOutOfBoundsException
-
normal
-
normal
-
normal
-
normalize3x3
-
normalize3x3
- Specified by:
normalize3x3in interfaceMatrix4fc
-
normalize3x3
- Specified by:
normalize3x3in interfaceMatrix4fc
-
frustumPlane
- Specified by:
frustumPlanein interfaceMatrix4fc
-
frustumCorner
- Specified by:
frustumCornerin interfaceMatrix4fc
-
perspectiveOrigin
- Specified by:
perspectiveOriginin interfaceMatrix4fc
-
perspectiveFov
public float perspectiveFov()- Specified by:
perspectiveFovin interfaceMatrix4fc
-
perspectiveNear
public float perspectiveNear()- Specified by:
perspectiveNearin interfaceMatrix4fc
-
perspectiveFar
public float perspectiveFar()- Specified by:
perspectiveFarin interfaceMatrix4fc
-
frustumRayDir
- Specified by:
frustumRayDirin interfaceMatrix4fc
-
positiveZ
-
normalizedPositiveZ
- Specified by:
normalizedPositiveZin interfaceMatrix4fc
-
positiveX
-
normalizedPositiveX
- Specified by:
normalizedPositiveXin interfaceMatrix4fc
-
positiveY
-
normalizedPositiveY
- Specified by:
normalizedPositiveYin interfaceMatrix4fc
-
originAffine
- Specified by:
originAffinein interfaceMatrix4fc
-
origin
-
shadow
-
shadow
-
shadow
public Matrix4f shadow(float lightX, float lightY, float lightZ, float lightW, float a, float b, float c, float d) -
shadow
-
shadow
-
shadow
-
shadow
-
shadow
-
billboardCylindrical
-
billboardSpherical
-
billboardSpherical
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equalsin classjava.lang.Object
-
pick
-
pick
-
isAffine
public boolean isAffine() -
swap
-
arcball
-
arcball
-
arcball
public Matrix4f arcball(float radius, float centerX, float centerY, float centerZ, float angleX, float angleY) -
arcball
-
frustumAabb
- Specified by:
frustumAabbin interfaceMatrix4fc
-
projectedGridRange
- Specified by:
projectedGridRangein interfaceMatrix4fc
-
perspectiveFrustumSlice
- Specified by:
perspectiveFrustumSlicein interfaceMatrix4fc
-
orthoCrop
-
trapezoidCrop
public Matrix4f trapezoidCrop(float p0x, float p0y, float p1x, float p1y, float p2x, float p2y, float p3x, float p3y) -
transformAab
public Matrix4f transformAab(float minX, float minY, float minZ, float maxX, float maxY, float maxZ, Vector3f outMin, Vector3f outMax)- Specified by:
transformAabin interfaceMatrix4fc
-
transformAab
- Specified by:
transformAabin interfaceMatrix4fc
-
lerp
-
lerp
-
rotateTowards
- Specified by:
rotateTowardsin interfaceMatrix4fc
-
rotateTowards
-
rotateTowards
-
rotateTowards
public Matrix4f rotateTowards(float dirX, float dirY, float dirZ, float upX, float upY, float upZ, Matrix4f dest)- Specified by:
rotateTowardsin interfaceMatrix4fc
-
rotationTowards
-
rotationTowards
public Matrix4f rotationTowards(float dirX, float dirY, float dirZ, float upX, float upY, float upZ) -
translationRotateTowards
-
translationRotateTowards
public Matrix4f translationRotateTowards(float posX, float posY, float posZ, float dirX, float dirY, float dirZ, float upX, float upY, float upZ) -
getEulerAnglesZYX
- Specified by:
getEulerAnglesZYXin interfaceMatrix4fc
-
toImmutable
-