Package | Description |
---|---|
pythagoras.f |
The Pythagoras geometry utility classes specialized on
float . |
Modifier and Type | Field and Description |
---|---|
static Matrix4[] |
Matrix4.EMPTY_ARRAY
An empty matrix array.
|
Modifier and Type | Method and Description |
---|---|
Matrix4 |
Matrix4.invert() |
Matrix4 |
IMatrix4.invert()
Inverts this matrix.
|
Matrix4 |
Matrix4.invert(Matrix4 result)
Inverts this matrix and places the result in the given object.
|
Matrix4 |
IMatrix4.invert(Matrix4 result)
Inverts this matrix and places the result in the given object.
|
Matrix4 |
Matrix4.invertAffine() |
Matrix4 |
IMatrix4.invertAffine()
Inverts this matrix as an affine matrix.
|
Matrix4 |
Matrix4.invertAffine(Matrix4 result) |
Matrix4 |
IMatrix4.invertAffine(Matrix4 result)
Inverts this matrix as an affine matrix and places the result in the given object.
|
Matrix4 |
Matrix4.invertAffineLocal()
Inverts this matrix in-place as an affine matrix.
|
Matrix4 |
Matrix4.invertLocal()
Inverts this matrix in-place.
|
Matrix4 |
Matrix4.lerp(IMatrix4 other,
float t) |
Matrix4 |
IMatrix4.lerp(IMatrix4 other,
float t)
Linearly interpolates between this and the specified other matrix.
|
Matrix4 |
Matrix4.lerp(IMatrix4 other,
float t,
Matrix4 result) |
Matrix4 |
IMatrix4.lerp(IMatrix4 other,
float t,
Matrix4 result)
Linearly interpolates between this and the specified other matrix, placing the result in
the object provided.
|
Matrix4 |
Matrix4.lerpAffine(IMatrix4 other,
float t) |
Matrix4 |
IMatrix4.lerpAffine(IMatrix4 other,
float t)
Linearly interpolates between this and the specified other matrix, treating the matrices as
affine.
|
Matrix4 |
Matrix4.lerpAffine(IMatrix4 other,
float t,
Matrix4 result) |
Matrix4 |
IMatrix4.lerpAffine(IMatrix4 other,
float t,
Matrix4 result)
Linearly interpolates between this and the specified other matrix (treating the matrices as
affine), placing the result in the object provided.
|
Matrix4 |
Matrix4.lerpAffineLocal(IMatrix4 other,
float t)
Linearly interpolates between this and the specified other matrix (treating the matrices as
affine), placing the result in this matrix.
|
Matrix4 |
Matrix4.lerpLocal(IMatrix4 other,
float t)
Linearly interpolates between the this and the specified other matrix, placing the result in
this matrix.
|
Matrix4 |
Matrix4.mult(IMatrix4 other) |
Matrix4 |
IMatrix4.mult(IMatrix4 other)
Multiplies this matrix by another.
|
Matrix4 |
Matrix4.mult(IMatrix4 other,
Matrix4 result) |
Matrix4 |
IMatrix4.mult(IMatrix4 other,
Matrix4 result)
Multiplies this matrix by another and stores the result in the object provided.
|
Matrix4 |
Matrix4.multAffine(IMatrix4 other) |
Matrix4 |
IMatrix4.multAffine(IMatrix4 other)
Multiplies this matrix by another, treating the matrices as affine.
|
Matrix4 |
Matrix4.multAffine(IMatrix4 other,
Matrix4 result) |
Matrix4 |
IMatrix4.multAffine(IMatrix4 other,
Matrix4 result)
Multiplies this matrix by another, treating the matrices as affine, and stores the result
in the object provided.
|
Matrix4 |
Matrix4.multAffineLocal(IMatrix4 other)
Multiplies this matrix in-place by another, treating the matricees as affine.
|
Matrix4 |
Matrix4.multLocal(IMatrix4 other)
Multiplies this matrix in-place by another.
|
Matrix4 |
Matrix4.set(float[] values)
Copies the elements of a row-major array.
|
Matrix4 |
Matrix4.set(FloatBuffer buf)
Sets the contents of this matrix from the supplied (column-major) buffer.
|
Matrix4 |
Matrix4.set(float m00,
float m10,
float m20,
float m30,
float m01,
float m11,
float m21,
float m31,
float m02,
float m12,
float m22,
float m32,
float m03,
float m13,
float m23,
float m33)
Sets all of the matrix's components at once.
|
Matrix4 |
Matrix4.set(IMatrix4 other)
Copies the contents of another matrix.
|
Matrix4 |
Matrix4.setToFrustum(float left,
float right,
float bottom,
float top,
float near,
float far)
Sets this to a perspective projection matrix.
|
Matrix4 |
Matrix4.setToFrustum(float left,
float right,
float bottom,
float top,
float near,
float far,
IVector3 nearFarNormal)
Sets this to a perspective projection matrix.
|
Matrix4 |
Matrix4.setToIdentity()
Sets this matrix to the identity matrix.
|
Matrix4 |
Matrix4.setToOrtho(float left,
float right,
float bottom,
float top,
float near,
float far)
Sets this to an orthographic projection matrix.
|
Matrix4 |
Matrix4.setToOrtho(float left,
float right,
float bottom,
float top,
float near,
float far,
IVector3 nearFarNormal)
Sets this to an orthographic projection matrix.
|
Matrix4 |
Matrix4.setToPerspective(float fovy,
float aspect,
float near,
float far)
Sets this to a perspective projection matrix.
|
Matrix4 |
Matrix4.setToReflection(float x,
float y,
float z)
Sets this to a reflection across a plane intersecting the origin with the supplied normal.
|
Matrix4 |
Matrix4.setToReflection(float x,
float y,
float z,
float w)
Sets this to a reflection across the specified plane.
|
Matrix4 |
Matrix4.setToReflection(IPlane plane)
Sets this to a reflection across the specified plane.
|
Matrix4 |
Matrix4.setToReflection(IVector3 normal)
Sets this to a reflection across a plane intersecting the origin with the supplied normal.
|
Matrix4 |
Matrix4.setToReflection(IVector3 normal,
float constant)
Sets this to a reflection across the specified plane.
|
Matrix4 |
Matrix4.setToRotation(float angle,
float x,
float y,
float z)
Sets this to a rotation matrix.
|
Matrix4 |
Matrix4.setToRotation(float angle,
IVector3 axis)
Sets this to a rotation matrix.
|
Matrix4 |
Matrix4.setToRotation(IQuaternion quat)
Sets this to a rotation matrix.
|
Matrix4 |
Matrix4.setToRotation(IVector3 from,
IVector3 to)
Sets this to a rotation matrix that rotates one vector onto another.
|
Matrix4 |
Matrix4.setToRotationScale(pythagoras.f.IMatrix3 rotScale)
Sets this to a rotation plus scale matrix.
|
Matrix4 |
Matrix4.setToScale(float s)
Sets this to a uniform scale matrix.
|
Matrix4 |
Matrix4.setToScale(float x,
float y,
float z)
Sets this to a scale matrix.
|
Matrix4 |
Matrix4.setToScale(IVector3 scale)
Sets this to a scale matrix.
|
Matrix4 |
Matrix4.setToSkew(float a,
float b,
float c,
float d,
float x,
float y,
float z)
Sets this to a skew by the specified amount relative to the given plane.
|
Matrix4 |
Matrix4.setToSkew(IPlane plane,
IVector3 amount)
Sets this to a skew by the specified amount relative to the given plane.
|
Matrix4 |
Matrix4.setToSkew(IVector3 normal,
float constant,
IVector3 amount)
Sets this to a skew by the specified amount relative to the given plane.
|
Matrix4 |
Matrix4.setToTransform(IVector3 translation,
IQuaternion rotation)
Sets this to a matrix that first rotates, then translates.
|
Matrix4 |
Matrix4.setToTransform(IVector3 translation,
IQuaternion rotation,
float scale)
Sets this to a matrix that first scales, then rotates, then translates.
|
Matrix4 |
Matrix4.setToTransform(IVector3 translation,
IQuaternion rotation,
IVector3 scale)
Sets this to a matrix that first scales, then rotates, then translates.
|
Matrix4 |
Matrix4.setToTranslation(float x,
float y,
float z)
Sets this to a translation matrix.
|
Matrix4 |
Matrix4.setToTranslation(IVector3 translation)
Sets this to a translation matrix.
|
Matrix4 |
Matrix4.setToZero()
Sets this matrix to all zeroes.
|
Matrix4 |
Matrix4.setTranslation(float x,
float y,
float z)
Sets the translation component of this matrix.
|
Matrix4 |
Matrix4.setTranslation(IVector3 translation)
Sets the translation component of this matrix.
|
Matrix4 |
Matrix4.transpose() |
Matrix4 |
IMatrix4.transpose()
Transposes this matrix.
|
Matrix4 |
Matrix4.transpose(Matrix4 result) |
Matrix4 |
IMatrix4.transpose(Matrix4 result)
Transposes this matrix, storing the result in the provided object.
|
Matrix4 |
Matrix4.transposeLocal()
Transposes this matrix in-place.
|
Modifier and Type | Method and Description |
---|---|
Matrix4 |
Matrix4.invert(Matrix4 result)
Inverts this matrix and places the result in the given object.
|
Matrix4 |
IMatrix4.invert(Matrix4 result)
Inverts this matrix and places the result in the given object.
|
Matrix4 |
Matrix4.invertAffine(Matrix4 result) |
Matrix4 |
IMatrix4.invertAffine(Matrix4 result)
Inverts this matrix as an affine matrix and places the result in the given object.
|
Matrix4 |
Matrix4.lerp(IMatrix4 other,
float t,
Matrix4 result) |
Matrix4 |
IMatrix4.lerp(IMatrix4 other,
float t,
Matrix4 result)
Linearly interpolates between this and the specified other matrix, placing the result in
the object provided.
|
Matrix4 |
Matrix4.lerpAffine(IMatrix4 other,
float t,
Matrix4 result) |
Matrix4 |
IMatrix4.lerpAffine(IMatrix4 other,
float t,
Matrix4 result)
Linearly interpolates between this and the specified other matrix (treating the matrices as
affine), placing the result in the object provided.
|
Matrix4 |
Matrix4.mult(IMatrix4 other,
Matrix4 result) |
Matrix4 |
IMatrix4.mult(IMatrix4 other,
Matrix4 result)
Multiplies this matrix by another and stores the result in the object provided.
|
Matrix4 |
Matrix4.multAffine(IMatrix4 other,
Matrix4 result) |
Matrix4 |
IMatrix4.multAffine(IMatrix4 other,
Matrix4 result)
Multiplies this matrix by another, treating the matrices as affine, and stores the result
in the object provided.
|
Matrix4 |
Matrix4.transpose(Matrix4 result) |
Matrix4 |
IMatrix4.transpose(Matrix4 result)
Transposes this matrix, storing the result in the provided object.
|
Copyright © 2017. All rights reserved.