aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/Transform.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/util/Transform.ts')
-rw-r--r--src/client/util/Transform.ts9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/client/util/Transform.ts b/src/client/util/Transform.ts
index fe047a49f..9fd4f7bef 100644
--- a/src/client/util/Transform.ts
+++ b/src/client/util/Transform.ts
@@ -55,15 +55,6 @@ export class Transform {
return this;
}
- //TODO
- center = (x: number, y: number): Transform => {
- console.log("old x: " + this._translateX + " old y: " + this._translateY)
- console.log("x: " + x + " y: " + y)
- this._translateX += x
- this._translateY += y
- return this;
- }
-
preTransform = (transform: Transform): Transform => {
this._translateX += transform._translateX * this._scale;
this._translateY += transform._translateY * this._scale;