ready for demo

This commit is contained in:
ericrius1 2015-10-27 13:43:13 -07:00
parent 0512da0e39
commit ed6a866ff9
2 changed files with 3 additions and 3 deletions

View file

@ -239,7 +239,7 @@
unload: function() { unload: function() {
Overlays.deleteOverlay(this.laserPointer); Overlays.deleteOverlay(this.laserPointer);
this.eraseBoard(); // this.eraseBoard();
} }
}; };

View file

@ -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);