removed s3 paths

This commit is contained in:
ericrius1 2016-04-05 15:08:32 -07:00
parent bd4e3b3460
commit 1257fac0f5

View file

@ -26,12 +26,8 @@ Whiteboard = function(spawnPosition, spawnRotation) {
var whiteboardPosition = spawnPosition;
var whiteboardRotation = orientation;
// var WHITEBOARD_MODEL_URL = "atp:/whiteboard/Whiteboard-4.fbx";
// var WHITEBOARD_COLLISION_HULL_URL = "atp:/whiteboard/whiteboardCollisionHull.obj";
// EBL REMOVE ME
var WHITEBOARD_MODEL_URL = "https://hifi-content.s3.amazonaws.com/eric/models/Whiteboard-4.fbx";
var WHITEBOARD_COLLISION_HULL_URL = "https://hifi-content.s3.amazonaws.com/eric/models/whiteboardCollisionHull.obj";
var WHITEBOARD_MODEL_URL = "atp:/whiteboard/Whiteboard-4.fbx";
var WHITEBOARD_COLLISION_HULL_URL = "atp:/whiteboard/whiteboardCollisionHull.obj";
var whiteboard = Entities.addEntity({
type: "Model",
@ -100,14 +96,11 @@ Whiteboard = function(spawnPosition, spawnRotation) {
// ************ ERAAAAAAASSSEERRRR ************************************************
// ********************************************************************************
// ************ ERASER ************************************************
var ERASER_MODEL_URL = "atp:/whiteboard/eraser-2.fbx";
// EBL REMOVE ME
var ERASER_MODEL_URL = "https://s3.amazonaws.com/hifi-public/eric/models/eraser.fbx";
var eraserPosition = Vec3.sum(spawnPosition, Vec3.multiply(Quat.getFront(whiteboardRotation), -0.1));
eraserPosition = Vec3.sum(eraserPosition, Vec3.multiply(-0.5, Quat.getRight(whiteboardRotation)));
var eraserRotation = markerRotation;
@ -170,24 +163,16 @@ Whiteboard = function(spawnPosition, spawnRotation) {
}
// *************************************************************************************************
// *************************************************************************************************
// *************************************************************************************************
function createMarkers() {
// var modelURLS = [
// "atp:/whiteboard/marker-blue.fbx",
// "atp:/whiteboard/marker-red.fbx",
// "atp:/whiteboard/marker-black.fbx",
// ];
// EBL REMOVE ME
var modelURLS = [
"https://hifi-content.s3.amazonaws.com/eric/models/marker-black.fbx",
"https://hifi-content.s3.amazonaws.com/eric/models/marker-red.fbx",
"https://hifi-content.s3.amazonaws.com/eric/models/marker-blue.fbx",
"atp:/whiteboard/marker-blue.fbx",
"atp:/whiteboard/marker-red.fbx",
"atp:/whiteboard/marker-black.fbx",
];
var markerPosition = Vec3.sum(spawnPosition, Vec3.multiply(Quat.getFront(whiteboardRotation), -0.1));
createMarker(modelURLS[0], markerPosition, {