Matrix
Matrices can transform Vectors and can be combined together.
Functions and Enumerations
- Constructors
Constructors for the Matrix class.
- Matrix( )
Create an identity Matrix.
- Matrix( )
- Static Functions
Functions that are called without an instance of the Matrix class.
- rotation( angles )
Create a Matrix with rotation from a Vector.
- rotation( x, y, z )
Create a Matrix with rotation around the X, Y and Z axes.
- rotationX( angle )
Create a rotation around the X axis.
- rotationY( angle )
Create a rotation around the Y axis.
- rotationZ( angle )
Create a rotation around the Z axis.
- scaling( amount )
Create a uniform scaling matrix.
- scaling( xyz )
Create a scaling Matrix from a Vector
- scaling( x, y, z )
Create a scaling Matrix from X, Y and Z components.
- translate( xyz )
Create a translation Matrix from a Vector.
- translate( x, y, z )
Create a translation Matrix from X, Y and Z components.
- rotation( angles )
- Instance Functions
Functions that are used with a Matrix instance.
- get( row, column )
Get the value at the specified position.
- set( row, column, value )
Set value at the specified row and column index.
- transpose( )
Transpose the Matrix.
- get( row, column )
- Operators
Operators that are used with a Matrix instance.
- operator * ( matrix )
Multiply this Matrix by another Matrix.
- operator * ( vector )
Multiply this Matrix by a Vector.
- operator * ( matrix )