mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 00:36:30 +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.otherHand = this.hand === RIGHT_HAND ? LEFT_HAND : RIGHT_HAND;
|
||||||
this.running = false;
|
this.running = false;
|
||||||
|
|
||||||
// parameters for things to be working on
|
|
||||||
this.isObjectEntity = false;
|
|
||||||
this.objectID = null;
|
|
||||||
|
|
||||||
this.parameters = makeDispatcherModuleParameters(
|
this.parameters = makeDispatcherModuleParameters(
|
||||||
160,
|
160,
|
||||||
this.hand === RIGHT_HAND ? ["rightHand"] : ["leftHand"],
|
this.hand === RIGHT_HAND ? ["rightHand"] : ["leftHand"],
|
||||||
|
@ -133,9 +129,6 @@ Script.include("/~/system/libraries/controllers.js");
|
||||||
}
|
}
|
||||||
if (this.parameters.handLaser.allwaysOn || isTriggerPressed) {
|
if (this.parameters.handLaser.allwaysOn || isTriggerPressed) {
|
||||||
var intersection = controllerData.rayPicks[this.hand];
|
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, [], []);
|
return makeRunningValues(true, [], []);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -171,7 +164,6 @@ Script.include("/~/system/libraries/controllers.js");
|
||||||
this.deleteContextOverlay();
|
this.deleteContextOverlay();
|
||||||
this.running = false;
|
this.running = false;
|
||||||
this.dominantHandOverride = false;
|
this.dominantHandOverride = false;
|
||||||
this.objectID = null;
|
|
||||||
return makeRunningValues(false, [], []);
|
return makeRunningValues(false, [], []);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue