Package | Description |
---|---|
com.threed.jpct | |
com.threed.jpct.util |
Modifier and Type | Method and Description |
---|---|
Matrix |
Matrix.cloneMatrix()
Creates a copy of this matrix.
|
Matrix |
Camera.getBack()
Returns the Matrix that is used as the backbuffer matrix.
|
Matrix |
Object3D.getInverseWorldTransformation() |
Matrix |
Object3D.getInverseWorldTransformation(Matrix mat) |
Matrix |
Object3D.getOriginMatrix()
Returns the object's origin-translation matrix.
|
Matrix |
Camera.getProjectionMatrix(FrameBuffer buffer)
Returns the projection matrix.
|
Matrix |
Camera.getProjectionMatrix(FrameBuffer buffer,
float nearPlane,
float farPlane)
Returns the projection matrix with arbitrary values for near and far
clipping plane.
|
Matrix |
Object3D.getRotationMatrix()
Returns the object's current rotation matrix.
|
Matrix |
SimpleVector.getRotationMatrix()
Creates a rotation matrix that can be used to rotate a vector pointing to
(0,0,1) to match the direction of this vector.
|
Matrix |
SimpleVector.getRotationMatrix(Matrix mat)
Creates a rotation matrix that can be used to rotate a vector pointing to
(0,0,1) to match the direction of this vector.
|
Matrix |
SimpleVector.getRotationMatrix(Matrix mat,
SimpleVector up)
Creates a rotation matrix that can be used to rotate a vector pointing to
(0,0,1) to match the direction of this vector.
|
Matrix |
SimpleVector.getRotationMatrix(SimpleVector up)
Creates a rotation matrix that can be used to rotate a vector pointing to
(0,0,1) to match the direction of this vector.
|
Matrix |
Object3D.getTextureMatrix()
Returns the current texture matrix of null if none is set.
|
Matrix |
Object3D.getTranslationMatrix()
Returns the object's current translation matrix.
|
Matrix |
Object3D.getWorldTransformation()
Returns the transformation matrix used to transform the object from
objectspace into worldspace.
|
Matrix |
Object3D.getWorldTransformation(Matrix mat)
Variant of getWorldTransformation() to avoid the creation of an
additional matrix where not needed.
|
Matrix |
Matrix.invert()
Calculates the inverse of this matrix.
|
Matrix |
Matrix.invert(Matrix dst)
Calculates the inverse of this matrix and fills the result into the given
matrix (which will be returned in addition).
|
Matrix |
Matrix.invert3x3()
Calculates the inverse of this matrix as if this matrix would be a 3x3
one (instead of the 4x4 it actually is).
|
Matrix |
Matrix.invert3x3(Matrix toFill)
Calculates the inverse of this matrix as if this matrix would be a 3x3
one (instead of the 4x4 it actually is).
|
Matrix |
Matrix.transpose()
Calculates the transposed matrix of this matrix.
|
Modifier and Type | Method and Description |
---|---|
Matrix |
Object3D.getInverseWorldTransformation(Matrix mat) |
Matrix |
SimpleVector.getRotationMatrix(Matrix mat)
Creates a rotation matrix that can be used to rotate a vector pointing to
(0,0,1) to match the direction of this vector.
|
Matrix |
SimpleVector.getRotationMatrix(Matrix mat,
SimpleVector up)
Creates a rotation matrix that can be used to rotate a vector pointing to
(0,0,1) to match the direction of this vector.
|
SimpleVector |
PolygonManager.getTransformedNormal(int polyID,
Matrix worldTransformationMatrix,
SimpleVector toFill)
Returns a polygon's face normal transformed into world space.
|
SimpleVector |
PolygonManager.getTransformedVertex(int polyID,
int vertexNumber,
Matrix worldTransformationMatrix,
SimpleVector toFill)
Returns a polygon's vertex transformed into world space.
|
Matrix |
Object3D.getWorldTransformation(Matrix mat)
Variant of getWorldTransformation() to avoid the creation of an
additional matrix where not needed.
|
void |
Matrix.interpolate(Matrix source,
Matrix dest,
float weight)
Fills the matrix with data interpolated between the source and the
destination matrix.
|
Matrix |
Matrix.invert(Matrix dst)
Calculates the inverse of this matrix and fills the result into the given
matrix (which will be returned in addition).
|
Matrix |
Matrix.invert3x3(Matrix toFill)
Calculates the inverse of this matrix as if this matrix would be a 3x3
one (instead of the 4x4 it actually is).
|
void |
Matrix.matMul(Matrix maty)
Multiplies this matrix with another one.
|
void |
SimpleVector.matMul(Matrix mat)
Multiplies the SimpleVector with a matrix, i.e. it applies the matrix's
transformation to the SimpleVector.
|
void |
SimpleVector.rotate(Matrix mat)
Similar to matMul(), but uses only the rotational part of the matrix.
|
void |
Camera.setBack(Matrix mat)
Sets the backbuffer matrix.
|
void |
Object3D.setRotationMatrix(Matrix mat)
Sets the rotation matrix for the object.
|
void |
GLSLShader.setStaticUniform(java.lang.String name,
Matrix m)
Sets a new Matrix uniform.
|
void |
GLSLShader.setStaticUniform(java.lang.String name,
Matrix[] ms)
Sets a new array of Matrix uniform.
|
void |
Object3D.setTextureMatrix(Matrix mat)
Sets a matrix that is applied to transform the texture in stage 0.
|
void |
Matrix.setTo(Matrix source)
Sets this matrix' values to the ones of the source matrix.
|
void |
Object3D.setTranslationMatrix(Matrix mat)
Sets the translation matrix for the object.
|
void |
GLSLShader.setUniform(java.lang.String name,
Matrix m)
Sets a new Matrix uniform.
|
void |
GLSLShader.setUniform(java.lang.String name,
Matrix[] vals)
Sets a new array of Matrix uniform.
|
Constructor and Description |
---|
Matrix(Matrix m)
Creates a matrix from a given one.
|
Modifier and Type | Method and Description |
---|---|
void |
Overlay.setInitialMatrix(Matrix matrix)
Sets a new initial matrix that will be used instead of the identity
matrix when calculating the Overlay's position.
|