| Package | Description |
|---|---|
| Catalano.Math |
The Catalano.Math namespace contains set of math utilities, which are used by other Catalano framework's namespaces or may be used individually.
|
| Modifier and Type | Method and Description |
|---|---|
static Matrix3x3 |
Matrix3x3.Add(Matrix3x3 matrix1,
Matrix3x3 matrix2)
Adds corresponding components of two matrices.
|
static Matrix3x3 |
Matrix3x3.CreateDiagonal(Vector3 vector)
Creates a diagonal matrix using the specified vector as diagonal elements.
|
static Matrix3x3 |
Matrix3x3.CreateFromColumns(Vector3 column0,
Vector3 column1,
Vector3 column2)
Creates a matrix from 3 columns specified as vectors.
|
static Matrix3x3 |
Matrix3x3.CreateFromRows(Vector3 row0,
Vector3 row1,
Vector3 row2)
Creates a matrix from 3 rows specified as vectors.
|
static Matrix3x3 |
Matrix3x3.CreateFromYawPitchRoll(float yaw,
float pitch,
float roll)
Creates rotation matrix to rotate an object around X, Y and Z axes.
|
static Matrix3x3 |
Matrix3x3.CreateRotationX(float radians)
Creates rotation matrix around X axis.
|
static Matrix3x3 |
Matrix3x3.CreateRotationY(float radians)
Creates rotation matrix around Y axis.
|
static Matrix3x3 |
Matrix3x3.CreateRotationZ(float radians)
Creates rotation matrix around Z axis.
|
static Matrix3x3 |
Matrix3x3.Identity()
Provides an identity matrix with all diagonal elements set to 1.
|
static Matrix3x3 |
Matrix3x3.Multiply(Matrix3x3 matrix1,
Matrix3x3 matrix2)
Multiplies two specified matrices.
|
static Matrix3x3 |
Matrix3x3.Subtract(Matrix3x3 matrix1,
Matrix3x3 matrix2)
Subtracts corresponding components of two matrices.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Matrix3x3.Add(Matrix3x3 matrix) |
static Matrix3x3 |
Matrix3x3.Add(Matrix3x3 matrix1,
Matrix3x3 matrix2)
Adds corresponding components of two matrices.
|
void |
Matrix3x3.Multiply(Matrix3x3 matrix) |
static Matrix3x3 |
Matrix3x3.Multiply(Matrix3x3 matrix1,
Matrix3x3 matrix2)
Multiplies two specified matrices.
|
void |
Matrix3x3.Subtract(Matrix3x3 matrix) |
static Matrix3x3 |
Matrix3x3.Subtract(Matrix3x3 matrix1,
Matrix3x3 matrix2)
Subtracts corresponding components of two matrices.
|