Multiply this matrix by another matrix in-place.
This operation performs matrix multiplication (M = M * other) and stores the result in this matrix. The operation is performed by computing the dot product of each row of this matrix with each column of the other matrix.
- Parameters
-
other | The matrix to multiply with. |
- Returns
- Reference to this matrix after multiplication.
- Note
- Matrix multiplication is not commutative, meaning A * B ≠ B * A.
matA *= matB;
static consteval Angle FromDegrees(double degrees)
Creates angle from degrees at compile time.
Definition angle.hpp:204
static constexpr Matrix33 CreateRotationX(const Angle &angle)
Create a new X-axis rotation matrix.
Definition mat33.hpp:321
constexpr Matrix33()
Default constructor initializing to a zero matrix.
Definition mat33.hpp:76
static constexpr Matrix33 CreateRotationY(const Angle &angle)
Create a new Y-axis rotation matrix.
Definition mat33.hpp:398