From c64290b5cd0d7400a9fd9e4024fccc6465d41e8d Mon Sep 17 00:00:00 2001 From: EdgarPironti Date: Fri, 23 Oct 2015 17:13:29 -0700 Subject: [PATCH] Removed unused variables --- examples/controllers/hydra/toyball.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/examples/controllers/hydra/toyball.js b/examples/controllers/hydra/toyball.js index b2616af3e2..c3374ffb5f 100644 --- a/examples/controllers/hydra/toyball.js +++ b/examples/controllers/hydra/toyball.js @@ -19,9 +19,7 @@ HIFI_PUBLIC_BUCKET = "http://s3.amazonaws.com/hifi-public/"; // maybe we should make these constants... var LEFT_PALM = 0; -var LEFT_TIP = 1; var RIGHT_PALM = 2; -var RIGHT_TIP = 3; var BALL_RADIUS = 0.08; var GRAVITY_STRENGTH = 3.0; @@ -179,10 +177,8 @@ function checkControllerSide(whichSide) { if (ballAlreadyInHand) { if (whichSide == LEFT_PALM) { handEntity = leftHandEntity; - whichTip = LEFT_TIP; } else { handEntity = rightHandEntity; - whichTip = RIGHT_TIP; } // If holding the ball keep it in the palm