diff options
author | Monika Hedman <monika_hedman@brown.edu> | 2019-02-24 16:11:16 -0500 |
---|---|---|
committer | Monika Hedman <monika_hedman@brown.edu> | 2019-02-24 16:11:16 -0500 |
commit | 1447bcdb79425d2e520ca39732d600466deb242c (patch) | |
tree | f7f6e0f613df33e3c4c28c4b10fac9386994d6e7 | |
parent | 2d604d7db4b4533e0e1deb30e624d81559c2dd07 (diff) |
transform fix
-rw-r--r-- | src/client/util/Transform.ts | 9 |
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; |