From 2bcc45e908d1a6e9c06ef8e03b29f82b8b37ce26 Mon Sep 17 00:00:00 2001 From: Caley Brock Date: Wed, 27 Jul 2016 09:55:41 -0700 Subject: [PATCH] Remove typo that causes an error with rectangular collider types --- apps/lib/p5play/p5.play.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/lib/p5play/p5.play.js b/apps/lib/p5play/p5.play.js index 973021f82527f..190f5e61510c0 100755 --- a/apps/lib/p5play/p5.play.js +++ b/apps/lib/p5play/p5.play.js @@ -1261,7 +1261,7 @@ function Sprite(pInst, _x, _y, _w, _h) { this.collider.extents.x = this.collider.originalExtents.x * abs(this._getScaleX()) * abs(cos(t)) + this.collider.originalExtents.y * abs(this._getScaleY()) * abs(sin(t)); - this.collider.extents.y = this.collider.originalExtents.x * abs(this.this._getScaleX()) * abs(sin(t)) + + this.collider.extents.y = this.collider.originalExtents.x * abs(this._getScaleX()) * abs(sin(t)) + this.collider.originalExtents.y * abs(this._getScaleY()) * abs(cos(t)); } else if(this.colliderType === 'default')