aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMonika Hedman <monika_hedman@brown.edu>2019-02-24 16:11:16 -0500
committerMonika Hedman <monika_hedman@brown.edu>2019-02-24 16:11:16 -0500
commit1447bcdb79425d2e520ca39732d600466deb242c (patch)
treef7f6e0f613df33e3c4c28c4b10fac9386994d6e7 /src
parent2d604d7db4b4533e0e1deb30e624d81559c2dd07 (diff)
transform fix
Diffstat (limited to 'src')
-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;