disable boundaries

This commit is contained in:
James B. Pollack 2016-02-26 10:26:02 -08:00
parent baa030b7b0
commit b0cb4b7199

View file

@ -5,7 +5,7 @@
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
var version = 1100;
var version = 1112;
var cellLayout;
var baseLocation = "https://hifi-content.s3.amazonaws.com/DomainContent/CellScience/";
@ -112,7 +112,7 @@ var scenes = [{
y: 0,
z: 0
},
radius: 450,
radius: 500,
number: 10,
userData: JSON.stringify({
entryPoint: locations.cellLayout[1],
@ -397,21 +397,7 @@ var scenes = [{
}),
script: "zoom.js?" + version,
visible: true
}
// {
// model:"NPC",
// dimensions:{x:20,y:20,z:20},
// randomSize: 10,
// offset:{x:208.593693,y:6.113100222,z:153.3202277},
// radius:520,
// number:25,
// userData: "",
// script:"",
// visible:true
// }
],
}],
boundary: {
radius: locations.cellLayout[2],
center: locations.cellLayout[0],
@ -573,7 +559,7 @@ function ImportScene(scene) {
CreateZone(scene);
CreateInstances(scene);
CreateBoundary(scene);
// CreateBoundary(scene);
// print("done " + scene.name);
@ -797,11 +783,9 @@ function CreateInstances(scene) {
function CreateIdentification(name, position, rotation, dimensions, showDistance, parentID) {
function CreateIdentification(name, position, rotation, dimensions, showDistance) {
//print ("creating ID for " + name);
if (parentID === undefined) {
parentID = "{00000000-0000-0000-0000-000000000000}";
}
Entities.addEntity({
type: "Sphere",
name: "ID for " + name,
@ -810,7 +794,6 @@ function CreateIdentification(name, position, rotation, dimensions, showDistance
green: 0,
blue: 0
},
parentID: parentID,
dimensions: dimensions,
position: position,
rotation: rotation,