Implement Transform2D.h
This commit is contained in:
@@ -14,6 +14,11 @@ namespace LinearAlgebra {
|
||||
Transform2D Scale(float x, float y); // Perform Nonunform Scale
|
||||
Transform2D Scale(const Vector2& scales); // Perform Nonuniform Scale
|
||||
Transform2D Rotate();
|
||||
|
||||
Vector2 Transform(const Vector2& input) const
|
||||
{
|
||||
return transformation * input;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user