Merge pull request #63790 from raulsntos/csharp-unused

C#: Remove unused `Transform2D.ScaleBasis` method
This commit is contained in:
Ignacio Roldán Etcheverry 2022-08-01 22:38:17 +02:00 committed by GitHub
commit 8243c7ab5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -320,14 +320,6 @@ namespace Godot
return copy;
}
private void ScaleBasis(Vector2 scale)
{
x.x *= scale.x;
x.y *= scale.y;
y.x *= scale.x;
y.y *= scale.y;
}
private real_t Tdotx(Vector2 with)
{
return (this[0, 0] * with[0]) + (this[1, 0] * with[1]);