From 8afbcae3657e714723e2423bc3f2c2c0e5bcc85f Mon Sep 17 00:00:00 2001 From: ZappoMan Date: Fri, 14 Mar 2014 00:43:11 -0700 Subject: [PATCH] tweak to seeing load test --- examples/seeingVoxelsExample.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/seeingVoxelsExample.js b/examples/seeingVoxelsExample.js index 62ebd599ee..65907bde40 100644 --- a/examples/seeingVoxelsExample.js +++ b/examples/seeingVoxelsExample.js @@ -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;