mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
use constants
This commit is contained in:
parent
1315201bdc
commit
1e2398cbea
1 changed files with 2 additions and 2 deletions
|
@ -1216,10 +1216,10 @@ Controller.enableMapping(MAPPING_NAME);
|
|||
var handToDisable = 'none';
|
||||
|
||||
function update() {
|
||||
if (handToDisable !== 0) {
|
||||
if (handToDisable !== LEFT_HAND) {
|
||||
leftController.update();
|
||||
}
|
||||
if (handToDisable !== 1) {
|
||||
if (handToDisable !== RIGHT_HAND) {
|
||||
rightController.update();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue