Package | Description |
---|---|
pythagoras.f |
The Pythagoras geometry utility classes specialized on
float . |
Modifier and Type | Field and Description |
---|---|
static Matrix3 |
Matrix3.IDENTITY
the identity matrix.
|
Modifier and Type | Method and Description |
---|---|
Matrix3 |
Matrix3.add(pythagoras.f.IMatrix3 other) |
Matrix3 |
Matrix3.add(pythagoras.f.IMatrix3 other,
Matrix3 result) |
Matrix3 |
Matrix3.addLocal(pythagoras.f.IMatrix3 other)
Adds
other to this matrix, in place. |
Matrix3 |
Matrix4.extractRotationScale(Matrix3 result) |
Matrix3 |
IMatrix4.extractRotationScale(Matrix3 result)
Extracts the rotation and scale components and places them in the provided result.
|
Matrix3 |
Matrix3.invert() |
Matrix3 |
Matrix3.invert(Matrix3 result)
Inverts this matrix and places the result in the given object.
|
Matrix3 |
Matrix3.invertAffine() |
Matrix3 |
Matrix3.invertAffine(Matrix3 result) |
Matrix3 |
Matrix3.invertAffineLocal()
Inverts this matrix in-place as an affine matrix.
|
Matrix3 |
Matrix3.invertLocal()
Inverts this matrix in-place.
|
Matrix3 |
Matrix3.lerp(pythagoras.f.IMatrix3 other,
float t) |
Matrix3 |
Matrix3.lerp(pythagoras.f.IMatrix3 other,
float t,
Matrix3 result) |
Matrix3 |
Matrix3.lerpAffine(pythagoras.f.IMatrix3 other,
float t) |
Matrix3 |
Matrix3.lerpAffine(pythagoras.f.IMatrix3 other,
float t,
Matrix3 result) |
Matrix3 |
Matrix3.lerpAffineLocal(pythagoras.f.IMatrix3 other,
float t)
Linearly interpolates between this and the specified other matrix (treating the matrices as
affine), placing the result in this matrix.
|
Matrix3 |
Matrix3.lerpLocal(pythagoras.f.IMatrix3 other,
float t)
Linearly interpolates between the this and the specified other matrix, placing the result in
this matrix.
|
Matrix3 |
Matrix3.mult(pythagoras.f.IMatrix3 other) |
Matrix3 |
Matrix3.mult(pythagoras.f.IMatrix3 other,
Matrix3 result) |
Matrix3 |
Matrix3.multAffine(pythagoras.f.IMatrix3 other) |
Matrix3 |
Matrix3.multAffine(pythagoras.f.IMatrix3 other,
Matrix3 result) |
Matrix3 |
Matrix3.multAffineLocal(pythagoras.f.IMatrix3 other)
Multiplies this matrix in-place by another, treating the matricees as affine.
|
Matrix3 |
Matrix3.multLocal(pythagoras.f.IMatrix3 other)
Multiplies this matrix in-place by another.
|
Matrix3 |
Matrix3.set(float[] values)
Copies the elements of an array.
|
Matrix3 |
Matrix3.set(float m00,
float m10,
float m20,
float m01,
float m11,
float m21,
float m02,
float m12,
float m22)
Sets all of the matrix's components at once.
|
Matrix3 |
Matrix3.set(pythagoras.f.IMatrix3 other)
Copies the contents of another matrix.
|
Matrix3 |
Matrix3.setToIdentity()
Sets this matrix to the identity matrix.
|
Matrix3 |
Matrix3.setToReflection(float x,
float y,
float z)
Sets this to a reflection across a plane intersecting the origin with the supplied normal.
|
Matrix3 |
Matrix3.setToReflection(IVector3 normal)
Sets this to a reflection across a plane intersecting the origin with the supplied normal.
|
Matrix3 |
Matrix3.setToRotation(float angle)
Sets this to a rotation matrix.
|
Matrix3 |
Matrix3.setToRotation(float angle,
float x,
float y,
float z)
Sets this to a rotation matrix.
|
Matrix3 |
Matrix3.setToRotation(float angle,
IVector3 axis)
Sets this to a rotation matrix.
|
Matrix3 |
Matrix3.setToRotation(IQuaternion quat)
Sets this to a rotation matrix.
|
Matrix3 |
Matrix3.setToRotation(IVector3 from,
IVector3 to)
Sets this to a rotation matrix that rotates one vector onto another.
|
Matrix3 |
Matrix3.setToScale(float s)
Sets this to a uniform scale matrix.
|
Matrix3 |
Matrix3.setToScale(float x,
float y,
float z)
Sets this to a scale matrix.
|
Matrix3 |
Matrix3.setToScale(IVector3 scale)
Sets this to a scale matrix.
|
Matrix3 |
Matrix3.setToTransform(IVector translation,
float rotation)
Sets this to a matrix that first rotates, then translates.
|
Matrix3 |
Matrix3.setToTransform(IVector translation,
float rotation,
float scale)
Sets this to a matrix that first scales, then rotates, then translates.
|
Matrix3 |
Matrix3.setToTransform(IVector translation,
float rotation,
IVector scale)
Sets this to a matrix that first scales, then rotates, then translates.
|
Matrix3 |
Matrix3.setToTranslation(float x,
float y)
Sets this to a translation matrix.
|
Matrix3 |
Matrix3.setToTranslation(IVector translation)
Sets this to a translation matrix.
|
Matrix3 |
Matrix3.setToZero()
Sets this matrix to all zeroes.
|
Matrix3 |
Matrix3.setTranslation(float x,
float y)
Sets the translation component of this matrix.
|
Matrix3 |
Matrix3.setTranslation(IVector translation)
Sets the translation component of this matrix.
|
Matrix3 |
Matrix3.transpose() |
Matrix3 |
Matrix3.transpose(Matrix3 result) |
Matrix3 |
Matrix3.transposeLocal()
Transposes this matrix in-place.
|
Modifier and Type | Method and Description |
---|---|
Matrix3 |
Matrix3.add(pythagoras.f.IMatrix3 other,
Matrix3 result) |
Box |
Frustum.boundsUnderRotation(Matrix3 matrix,
Box result)
Computes the bounds of the frustum under the supplied rotation and places the results in
the box provided.
|
Matrix3 |
Matrix4.extractRotationScale(Matrix3 result) |
Matrix3 |
IMatrix4.extractRotationScale(Matrix3 result)
Extracts the rotation and scale components and places them in the provided result.
|
Matrix3 |
Matrix3.invert(Matrix3 result)
Inverts this matrix and places the result in the given object.
|
Matrix3 |
Matrix3.invertAffine(Matrix3 result) |
Matrix3 |
Matrix3.lerp(pythagoras.f.IMatrix3 other,
float t,
Matrix3 result) |
Matrix3 |
Matrix3.lerpAffine(pythagoras.f.IMatrix3 other,
float t,
Matrix3 result) |
Matrix3 |
Matrix3.mult(pythagoras.f.IMatrix3 other,
Matrix3 result) |
Matrix3 |
Matrix3.multAffine(pythagoras.f.IMatrix3 other,
Matrix3 result) |
Matrix3 |
Matrix3.transpose(Matrix3 result) |
Constructor and Description |
---|
Matrix3(Matrix3 other)
Copy constructor.
|
Copyright © 2017. All rights reserved.