#include "Vec4.h"
#include "Vec3.h"
Go to the source code of this file.
|
| struct | Mat4 |
| | Contains the Mat4 structure with functions and overloaded operators. This is row major. More...
|
| |
◆ operator*() [1/2]
Overloads the * operator allowing a Mat4 to be multiplied to a scalar.
- Parameters
-
| mInA | The input Mat4. |
| s | The scalar to add. |
- Returns
- The new Mat4.
◆ operator*() [2/2]
Overloads the * operator allowing a Mat4 to be multiplied with another Mat4. REMEMBER: Mat1 * Mat2 != Mat2 * Mat1.
- Parameters
-
| matInA | An input Mat4. |
| matInB | An input Mat4. |
- Returns
- The new Mat4.
◆ operator+() [1/2]
Overloads the + operator allowing a Mat4 to be added to a scalar.
- Parameters
-
| mIn | The input Mat4. |
| s | The scalar to add. |
- Returns
- The new Mat4.
◆ operator+() [2/2]
Overloads the + operator allowing a Mat4 to be added to a scalar.
- Parameters
-
- Returns
- The new Mat4.
◆ operator-() [1/2]
Overloads the - operator allowing a Mat4 to be added to a scalar.
- Parameters
-
| mInA | The input Mat4. |
| s | The scalar to add. |
- Returns
- The new Mat4.
◆ operator-() [2/2]
Overloads the - operator allowing a Mat4 to be subtracted from a scalar.
- Parameters
-
- Returns
- The new Mat4.