Update Transform2D.cpp
Fix non-building
This commit is contained in:
@@ -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)}; }
|
||||
|
||||
|
Reference in New Issue
Block a user