mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 09:23:17 +02:00
tweak to seeing load test
This commit is contained in:
parent
8006719fda
commit
8afbcae365
1 changed files with 3 additions and 2 deletions
|
@ -13,6 +13,7 @@ var yawDirection = -1;
|
|||
var yaw = 45;
|
||||
var yawMax = 70;
|
||||
var yawMin = 20;
|
||||
var vantagePoint = {x: 5000, y: 500, z: 5000};
|
||||
|
||||
var isLocal = false;
|
||||
|
||||
|
@ -21,10 +22,10 @@ var orientation = Quat.fromPitchYawRoll(0, yaw, 0);
|
|||
|
||||
function init() {
|
||||
if (isLocal) {
|
||||
MyAvatar.position = {x: 5000, y: 500, z: 5000};
|
||||
MyAvatar.position = vantagePoint;
|
||||
MyAvatar.orientation = orientation;
|
||||
} else {
|
||||
VoxelViewer.setPosition({x: 5000, y: 500, z: 5000});
|
||||
VoxelViewer.setPosition(vantagePoint);
|
||||
VoxelViewer.setOrientation(orientation);
|
||||
VoxelViewer.queryOctree();
|
||||
Agent.isAvatar = true;
|
||||
|
|
Loading…
Reference in a new issue