mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
removing unused variables
This commit is contained in:
parent
a96e78c72d
commit
8bef0d0de4
1 changed files with 0 additions and 8 deletions
|
@ -21,10 +21,6 @@ Script.include("/~/system/libraries/controllers.js");
|
|||
this.otherHand = this.hand === RIGHT_HAND ? LEFT_HAND : RIGHT_HAND;
|
||||
this.running = false;
|
||||
|
||||
// parameters for things to be working on
|
||||
this.isObjectEntity = false;
|
||||
this.objectID = null;
|
||||
|
||||
this.parameters = makeDispatcherModuleParameters(
|
||||
160,
|
||||
this.hand === RIGHT_HAND ? ["rightHand"] : ["leftHand"],
|
||||
|
@ -133,9 +129,6 @@ Script.include("/~/system/libraries/controllers.js");
|
|||
}
|
||||
if (this.parameters.handLaser.allwaysOn || isTriggerPressed) {
|
||||
var intersection = controllerData.rayPicks[this.hand];
|
||||
// the object is either an entity or an overlay.
|
||||
this.isObjectEntity = (intersection.type === Picks.INTERSECTED_ENTITY);
|
||||
this.objectID = intersection.objectID;
|
||||
return makeRunningValues(true, [], []);
|
||||
}
|
||||
}
|
||||
|
@ -171,7 +164,6 @@ Script.include("/~/system/libraries/controllers.js");
|
|||
this.deleteContextOverlay();
|
||||
this.running = false;
|
||||
this.dominantHandOverride = false;
|
||||
this.objectID = null;
|
||||
return makeRunningValues(false, [], []);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue