Multiply#
-
inline Vec2 Multiply(const Matrix22 &a, const Vec2 &x)#
Multiplies a 2x2 matrix by a 2D vector.
Performs matrix-vector multiplication where the result is a linear combination of the matrix columns weighted by the vector components.
- Parameters:
a – [in] Matrix to multiply
x – [in] Vector to multiply
- Returns:
Transformed vector a * x