Fix spaces

This commit is contained in:
Jeffery Myers 2024-10-21 08:56:12 -07:00
parent a99cc0fd0e
commit c39291affa

View File

@ -2899,35 +2899,35 @@ inline const Quaternion& operator *= (Quaternion& lhs, const Matrix& rhs)
// Matrix operators // Matrix operators
inline Matrix operator + (const Matrix& lhs, const Matrix& rhs) inline Matrix operator + (const Matrix& lhs, const Matrix& rhs)
{ {
....return MatrixAdd(lhs, rhs); return MatrixAdd(lhs, rhs);
} }
inline const Matrix& operator += (Matrix& lhs, const Matrix& rhs) inline const Matrix& operator += (Matrix& lhs, const Matrix& rhs)
{ {
....lhs = MatrixAdd(lhs, rhs); lhs = MatrixAdd(lhs, rhs);
....return lhs; return lhs;
} }
inline Matrix operator - (const Matrix& lhs, const Matrix& rhs) inline Matrix operator - (const Matrix& lhs, const Matrix& rhs)
{ {
....return MatrixSubtract(lhs, rhs); return MatrixSubtract(lhs, rhs);
} }
inline const Matrix& operator -= (Matrix& lhs, const Matrix& rhs) inline const Matrix& operator -= (Matrix& lhs, const Matrix& rhs)
{ {
....lhs = MatrixSubtract(lhs, rhs); lhs = MatrixSubtract(lhs, rhs);
....return lhs; return lhs;
} }
inline Matrix operator * (const Matrix& lhs, const Matrix& rhs) inline Matrix operator * (const Matrix& lhs, const Matrix& rhs)
{ {
....return MatrixMultiply(lhs, rhs); return MatrixMultiply(lhs, rhs);
} }
inline const Matrix& operator *= (Matrix& lhs, const Matrix& rhs) inline const Matrix& operator *= (Matrix& lhs, const Matrix& rhs)
{ {
....lhs = MatrixMultiply(lhs, rhs); lhs = MatrixMultiply(lhs, rhs);
....return lhs; return lhs;
} }
//------------------------------------------------------------------------------- //-------------------------------------------------------------------------------
#endif // C++ operators #endif // C++ operators