mirror of
https://github.com/overte-org/overte.git
synced 2025-06-16 03:00:40 +02:00
partial requested code changes
This commit is contained in:
parent
7284c3ad53
commit
d008bfa523
2 changed files with 1 additions and 3 deletions
|
@ -90,7 +90,6 @@ Script.include("/~/system/libraries/controllers.js");
|
||||||
action: 'add',
|
action: 'add',
|
||||||
id: objectID
|
id: objectID
|
||||||
};
|
};
|
||||||
print("ignoreing entity " + entityIndex);
|
|
||||||
Messages.sendMessage('Hifi-Hand-RayPick-Blacklist', JSON.stringify(data));
|
Messages.sendMessage('Hifi-Hand-RayPick-Blacklist', JSON.stringify(data));
|
||||||
this.ignoredObjects.push(objectID);
|
this.ignoredObjects.push(objectID);
|
||||||
}
|
}
|
||||||
|
@ -99,7 +98,6 @@ Script.include("/~/system/libraries/controllers.js");
|
||||||
|
|
||||||
this.restoreIgnoredObjects = function() {
|
this.restoreIgnoredObjects = function() {
|
||||||
for (var index = 0; index < this.ignoredObjects.length; index++) {
|
for (var index = 0; index < this.ignoredObjects.length; index++) {
|
||||||
print("removing");
|
|
||||||
var data = {
|
var data = {
|
||||||
action: 'remove',
|
action: 'remove',
|
||||||
id: this.ignoredObjects[index]
|
id: this.ignoredObjects[index]
|
||||||
|
|
|
@ -241,7 +241,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function lerp(a, b, t) {
|
function lerp(a, b, t) {
|
||||||
return (((1 - t) * a) + (t * b));
|
return ((1 - t) * a + t * b);
|
||||||
}
|
}
|
||||||
|
|
||||||
function resetValues() {
|
function resetValues() {
|
||||||
|
|
Loading…
Reference in a new issue