small code improvement

This commit is contained in:
2025-01-02 18:40:19 +03:00
parent dcf466316c
commit 824b301d40
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
{