mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 15:59:49 +02:00
added explanatory comment
This commit is contained in:
parent
f93b1d3325
commit
fb040426eb
2 changed files with 2 additions and 1 deletions
|
@ -55,6 +55,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
this.intersection = Entities.findRayIntersection(pickRay, true, [this.entityID]);
|
this.intersection = Entities.findRayIntersection(pickRay, true, [this.entityID]);
|
||||||
|
// this.intersection = Entities.findRayIntersection(pickRay, true);
|
||||||
},
|
},
|
||||||
|
|
||||||
releaseGrab: function() {
|
releaseGrab: function() {
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
|
|
||||||
Script.include("../../libraries/utils.js");
|
Script.include("../../libraries/utils.js");
|
||||||
var scriptURL = Script.resolvePath("whiteBoardEntityScript.js?v1" +Math.random());
|
var scriptURL = Script.resolvePath("whiteBoardEntityScript.js?v2");
|
||||||
|
|
||||||
var rotation = Quat.safeEulerAngles(Camera.getOrientation());
|
var rotation = Quat.safeEulerAngles(Camera.getOrientation());
|
||||||
rotation = Quat.fromPitchYawRollDegrees(0, rotation.y, 0);
|
rotation = Quat.fromPitchYawRollDegrees(0, rotation.y, 0);
|
||||||
|
|
Loading…
Reference in a new issue