From 7834a18bcfa5d82b4fd8fab5a7ed14ef7a43535d Mon Sep 17 00:00:00 2001 From: bwent Date: Fri, 14 Aug 2015 15:11:05 -0700 Subject: [PATCH] add untracked changes --- examples/example/solarsystem.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/examples/example/solarsystem.js b/examples/example/solarsystem.js index 139efe3ad8..0a16bf52f7 100644 --- a/examples/example/solarsystem.js +++ b/examples/example/solarsystem.js @@ -21,7 +21,7 @@ CreateSimulation = function() { Script.include("https://hifi-public.s3.amazonaws.com/eric/scripts/tween.js"); Script.include('games/satellite.js'); - + var trailsEnabled = this.trailsEnabled = true; var DAMPING = this.DAMPING = 0.0; @@ -126,7 +126,7 @@ CreateSimulation = function() { } this.pause = function() { - if(paused) { + if (paused) { return; } for (var i = 0; i < planets.length; ++i) { @@ -144,7 +144,7 @@ CreateSimulation = function() { } this.resume = function() { - if(!paused) { + if (!paused) { return; } for (var i = 0; i < planets.length; ++i) { @@ -490,7 +490,7 @@ CreateSimulation = function() { elapsed = 0.0; planets.length = 0; initPlanets(); - + MyAvatar.position = startingPosition; Camera.setPosition(cameraStart); @@ -500,5 +500,4 @@ CreateSimulation = function() { CreateSimulation(); Script.update.connect(update); -Script.scriptEnding.connect(scriptEnding); - +Script.scriptEnding.connect(scriptEnding); \ No newline at end of file