partial requested code changes

This commit is contained in:
Wayne Chen 2018-10-22 11:29:36 -07:00
parent 7284c3ad53
commit d008bfa523
2 changed files with 1 additions and 3 deletions

View file

@ -90,7 +90,6 @@ Script.include("/~/system/libraries/controllers.js");
action: 'add',
id: objectID
};
print("ignoreing entity " + entityIndex);
Messages.sendMessage('Hifi-Hand-RayPick-Blacklist', JSON.stringify(data));
this.ignoredObjects.push(objectID);
}
@ -99,7 +98,6 @@ Script.include("/~/system/libraries/controllers.js");
this.restoreIgnoredObjects = function() {
for (var index = 0; index < this.ignoredObjects.length; index++) {
print("removing");
var data = {
action: 'remove',
id: this.ignoredObjects[index]

View file

@ -241,7 +241,7 @@
}
function lerp(a, b, t) {
return (((1 - t) * a) + (t * b));
return ((1 - t) * a + t * b);
}
function resetValues() {