Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
brianpeiris committed Dec 1, 2016
1 parent f3f18ac commit 8e4316d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions examples/joint-collision-push.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
<script>

var sim = altspace.utilities.Simulation();
sim.camera.position.z = 5;
var pushOffset = 2;
var button;
var cubePositionRef;
var enclosure;
var sceneSync;

// Get the enclosure
altspace.getEnclosure().then(function(e) {
Expand Down Expand Up @@ -88,7 +88,6 @@

var object3d;
var sync;
//var cubePositionRef;
var collisionIntersect;
var objectBB;

Expand Down
3 changes: 1 addition & 2 deletions examples/joint-collision-touch.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<script>

var sim = altspace.utilities.Simulation();
sim.camera.position.z = 5;
var config = { authorId: 'AltspaceVR', appId: 'JointCollisionTouch' };
var sceneSync;
altspace.utilities.sync.connect(config).then(function(connection) {
Expand Down Expand Up @@ -86,7 +85,7 @@

return { awake: awake, update: update };

};
}

</script>
</body>
Expand Down

0 comments on commit 8e4316d

Please sign in to comment.