From e375f7f657cb927b3fdef612be5c157c754a8f45 Mon Sep 17 00:00:00 2001 From: perminder-17 <127239756+perminder-17@users.noreply.github.com> Date: Thu, 9 Nov 2023 20:11:58 +0530 Subject: [PATCH] Removed bracket.js --- src/webgl/interaction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webgl/interaction.js b/src/webgl/interaction.js index e5dc1928ae..828fdd32a2 100644 --- a/src/webgl/interaction.js +++ b/src/webgl/interaction.js @@ -229,7 +229,7 @@ p5.prototype.orbitControl = function( deltaPhi = sensitivityY * this.movedY / scaleFactor; } else if (this.mouseButton === this.RIGHT) { moveDeltaX = this.movedX; - moveDeltaY = (this.movedY * (cam.yScale)); + moveDeltaY = this.movedY * cam.yScale; } // start rotate and move when mouse is pressed within the canvas. if (pointersInCanvas) this._renderer.executeRotateAndMove = true;