Package | Description |
---|---|
pythagoras.d |
The Pythagoras geometry utility classes specialized on
double . |
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,
double t) |
Matrix4 |
IMatrix4.lerp(IMatrix4 other,
double t)
Linearly interpolates between this and the specified other matrix.
|
Matrix4 |
Matrix4.lerp(IMatrix4 other,
double t,
Matrix4 result) |
Matrix4 |
IMatrix4.lerp(IMatrix4 other,
double t,
Matrix4 result)
Linearly interpolates between this and the specified other matrix, placing the result in
the object provided.
|
Matrix4 |
Matrix4.lerpAffine(IMatrix4 other,
double t) |
Matrix4 |
IMatrix4.lerpAffine(IMatrix4 other,
double t)
Linearly interpolates between this and the specified other matrix, treating the matrices as
affine.
|
Matrix4 |
Matrix4.lerpAffine(IMatrix4 other,
double t,
Matrix4 result) |
Matrix4 |
IMatrix4.lerpAffine(IMatrix4 other,
double 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,
double 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,
double 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(double[] values)
Copies the elements of a row-major array.
|
Matrix4 |
Matrix4.set(DoubleBuffer buf)
Sets the contents of this matrix from the supplied (column-major) buffer.
|
Matrix4 |
Matrix4.set(double m00,
double m10,
double m20,
double m30,
double m01,
double m11,
double m21,
double m31,
double m02,
double m12,
double m22,
double m32,
double m03,
double m13,
double m23,
double m33)
Sets all of the matrix's components at once.
|
Matrix4 |
Matrix4.set(IMatrix4 other)
Copies the contents of another matrix.
|
Matrix4 |
Matrix4.setToFrustum(double left,
double right,
double bottom,
double top,
double near,
double far)
Sets this to a perspective projection matrix.
|
Matrix4 |
Matrix4.setToFrustum(double left,
double right,
double bottom,
double top,
double near,
double far,
IVector3 nearFarNormal)
Sets this to a perspective projection matrix.
|
Matrix4 |
Matrix4.setToIdentity()
Sets this matrix to the identity matrix.
|
Matrix4 |
Matrix4.setToOrtho(double left,
double right,
double bottom,
double top,
double near,
double far)
Sets this to an orthographic projection matrix.
|
Matrix4 |
Matrix4.setToOrtho(double left,
double right,
double bottom,
double top,
double near,
double far,
IVector3 nearFarNormal)
Sets this to an orthographic projection matrix.
|
Matrix4 |
Matrix4.setToPerspective(double fovy,
double aspect,
double near,
double far)
Sets this to a perspective projection matrix.
|
Matrix4 |
Matrix4.setToReflection(double x,
double y,
double z)
Sets this to a reflection across a plane intersecting the origin with the supplied normal.
|
Matrix4 |
Matrix4.setToReflection(double x,
double y,
double z,
double 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,
double constant)
Sets this to a reflection across the specified plane.
|
Matrix4 |
Matrix4.setToRotation(double angle,
double x,
double y,
double z)
Sets this to a rotation matrix.
|
Matrix4 |
Matrix4.setToRotation(double 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.d.IMatrix3 rotScale)
Sets this to a rotation plus scale matrix.
|
Matrix4 |
Matrix4.setToScale(double s)
Sets this to a uniform scale matrix.
|
Matrix4 |
Matrix4.setToScale(double x,
double y,
double z)
Sets this to a scale matrix.
|
Matrix4 |
Matrix4.setToScale(IVector3 scale)
Sets this to a scale matrix.
|
Matrix4 |
Matrix4.setToSkew(double a,
double b,
double c,
double d,
double x,
double y,
double 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,
double 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,
double 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(double x,
double y,
double 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(double x,
double y,
double 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,
double t,
Matrix4 result) |
Matrix4 |
IMatrix4.lerp(IMatrix4 other,
double t,
Matrix4 result)
Linearly interpolates between this and the specified other matrix, placing the result in
the object provided.
|
Matrix4 |
Matrix4.lerpAffine(IMatrix4 other,
double t,
Matrix4 result) |
Matrix4 |
IMatrix4.lerpAffine(IMatrix4 other,
double 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.