Implement Transform2D

This commit is contained in:
2024-01-23 21:46:07 -05:00
parent f04e08201d
commit d012af1214
4 changed files with 63 additions and 10 deletions

View File

@@ -37,9 +37,14 @@ namespace LinearAlgebra {
return {x, y, z};
}
float Matrix3x3::At(int x, int y) const {
return this->elems[x][y];
}
void Matrix3x3::SetAt(int x, int y, float value)
{
this->elems[x][y] = value;
}
Vector3 Matrix3x3::operator*(const Vector3 &rhs) const {