mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
ready for demo
This commit is contained in:
parent
0512da0e39
commit
ed6a866ff9
2 changed files with 3 additions and 3 deletions
|
@ -239,7 +239,7 @@
|
||||||
unload: function() {
|
unload: function() {
|
||||||
|
|
||||||
Overlays.deleteOverlay(this.laserPointer);
|
Overlays.deleteOverlay(this.laserPointer);
|
||||||
this.eraseBoard();
|
// this.eraseBoard();
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
Script.include("../../libraries/utils.js");
|
Script.include("../../libraries/utils.js");
|
||||||
var scriptURL = Script.resolvePath("whiteboardEntityScript.js");
|
var scriptURL = Script.resolvePath("whiteboardEntityScript.js");
|
||||||
//var modelURL = "https://hifi-public.s3.amazonaws.com/ozan/support/for_eric/whiteboard/whiteboard.fbx";
|
//var modelURL = "https://hifi-public.s3.amazonaws.com/ozan/support/for_eric/whiteboard/whiteboard.fbx";
|
||||||
//var modelURL = "http://localhost:8080/whiteboard.fbx?v1" + Math.random();
|
// var modelURL = "http://localhost:8080/whiteboard.fbx?v1" + Math.random();
|
||||||
var modelURL = "https://s3.amazonaws.com/hifi-public/eric/models/whiteboard.fbx";
|
var modelURL = "https://s3.amazonaws.com/hifi-public/eric/models/whiteboard.fbx";
|
||||||
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);
|
||||||
|
@ -192,4 +192,4 @@ function cleanup() {
|
||||||
|
|
||||||
|
|
||||||
// Uncomment this line to delete whiteboard and all associated entity on script close
|
// Uncomment this line to delete whiteboard and all associated entity on script close
|
||||||
Script.scriptEnding.connect(cleanup);
|
// Script.scriptEnding.connect(cleanup);
|
Loading…
Reference in a new issue