small code improvement

This commit is contained in:
2025-01-02 18:40:19 +03:00
parent 6ee8ea1400
commit ff4275136f
3 changed files with 7 additions and 5 deletions

View File

@@ -74,6 +74,11 @@ namespace omath
{
return m_rows;
}
float& Matrix::operator[](const size_t row, const size_t column)
{
return At(row, column);
}
Matrix::Matrix(Matrix&& other) noexcept
{