Navigation
API > API/Plugins > API/Plugins/MutableRuntime > API/Plugins/MutableRuntime/MuR
Inheritance Hierarchy
- mat
- mat3
References
| Module | MutableRuntime |
| Header | /Engine/Plugins/Experimental/Mutable/Source/MutableRuntime/Public/MuR/MutableMath.h |
| Include | #include "MuR/MutableMath.h" |
Syntax
template<class SCALAR, int DIM>
class mat
Remarks
Generic square matrix template.
Variables
| Type | Name | Description | |
|---|---|---|---|
| vec< SCALAR, DIM >[DIM] | m | Rows. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
mat () |
0 matrix | ||
mat
(
const float* p |
Build from a float array. | ||
| Initialise from another matrix with different size, filling the unknown with identites. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AlmostEqual
(
const V& other, |
||
| V | GetColumn
(
int i |
Return a column. | |
| SCALAR | |||
| int | GetDim () |
||
| const V & | GetRow
(
int i |
Return a row. | |
| M | Identity () |
Return an identity matrix. | |
| M | Make a scale matrix. | ||
| void | SetIdentity () |
Return an identity matrix. | |
| V | |||
| M | Make a translation matrix. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| V | |||
| bool | operator!=
(
const M& other |
||
| V | |||
| M | |||
| const V & | operator[]
(
int i |
||
| V & | operator[]
(
int i |
Return a row. | |
| V | |||
| void | operator+=
(
const M& other |
||
| bool | Strict ordering of matrices. | ||
| void | operator-=
(
const M& other |
||
| bool | operator==
(
const M& other |