mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 13:28:16 +02:00
disable boundaries
This commit is contained in:
parent
baa030b7b0
commit
b0cb4b7199
1 changed files with 248 additions and 265 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue