Update Transform2D.cpp
All checks were successful
Run ReCI Build Test / Explore-Gitea-Actions (push) Successful in 1m25s
Build Docs With Doxygen / Explore-Gitea-Actions (push) Successful in 26s

Fix non-building
This commit is contained in:
2025-06-04 15:26:37 -04:00
parent 1bbe237510
commit 966f6fc77d

View File

@@ -84,12 +84,14 @@ namespace J3ML::LinearAlgebra {
float Transform2D::Determinant() const { return transformation.Determinant(); }
/*
Vector2 Transform2D::Transform(const Vector2 &point) const {
Vector2 result;
result.x = At(0,0) * point.x + At(0,1) * point.y + At(0,2);
result.y = At(1,0) * point.x + At(1,1) * point.y + At(1,2);
return result;
}
*/
Vector2 Transform2D::ForwardVector() const { return {At(0,0), At(1,0)}; }