SaturnRingLibrary 0.9.1
SGL wrapper
 
Loading...
Searching...
No Matches

◆ operator*=()

Matrix33 & SRL::Math::Types::Matrix33::operator*= ( const Matrix33 & other)
inlineconstexpr

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
otherThe matrix to multiply with.
Returns
Reference to this matrix after multiplication.
Note
Matrix multiplication is not commutative, meaning A * B ≠ B * A.
matA *= matB; // Combines rotations, first X then Y
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