From 71c3443614e9981ab9648f6b80598413ae1ab48c Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Tue, 8 Apr 2014 17:56:56 -0700 Subject: [PATCH] mass replacement of js of hifi with examples --- examples/editVoxels.js | 7 +++++-- examples/findParticleExample.js | 2 +- examples/flockingBirds.js | 2 +- examples/globalCollisionsExample.js | 2 +- examples/gun.js | 2 +- examples/hideAvatarExample.js | 2 +- examples/hydraMove.js | 2 +- examples/includeExample.js | 2 +- examples/inspect.js | 2 +- examples/lookAtExample.js | 2 +- examples/lookWithMouse.js | 2 +- examples/lookWithTouch.js | 2 +- examples/menuExample.js | 2 +- examples/multitouchExample.js | 2 +- examples/overlaysExample.js | 2 +- examples/paintGun.js | 2 +- examples/particleBird.js | 2 +- examples/particleModelExample.js | 2 +- examples/rayPickExample.js | 2 +- examples/ribbon.js | 2 +- examples/rideAlongWithAParticleExample.js | 2 +- examples/seeingVoxelsExample.js | 2 +- examples/selectAudioDevice.js | 2 +- examples/settingsExample.js | 2 +- examples/spaceInvadersExample.js | 2 +- examples/toyball.js | 2 +- examples/voxelDrumming.js | 2 +- 27 files changed, 31 insertions(+), 28 deletions(-) diff --git a/examples/editVoxels.js b/examples/editVoxels.js index 2a0ed98000..31e8da8e74 100644 --- a/examples/editVoxels.js +++ b/examples/editVoxels.js @@ -1,9 +1,9 @@ // // editVoxels.js -// hifi +// examples // // Created by Philip Rosedale on February 8, 2014 -// Copyright (c) 2014 HighFidelity, Inc. All rights reserved. +// Copyright 2014 High Fidelity, Inc. // // Captures mouse clicks and edits voxels accordingly. // @@ -15,6 +15,9 @@ // // Click and drag to create more new voxels in the same direction // +// Distributed under the Apache License, Version 2.0. +// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html +// var windowDimensions = Controller.getViewportDimensions(); diff --git a/examples/findParticleExample.js b/examples/findParticleExample.js index 4a0e9b832a..7b95103f0e 100644 --- a/examples/findParticleExample.js +++ b/examples/findParticleExample.js @@ -1,6 +1,6 @@ // // findParticleExample.js -// hifi +// examples // // Created by Brad Hefta-Gaub on 1/24/14. // Copyright (c) 2014 HighFidelity, Inc. All rights reserved. diff --git a/examples/flockingBirds.js b/examples/flockingBirds.js index 12b402ab40..5b0e26267e 100644 --- a/examples/flockingBirds.js +++ b/examples/flockingBirds.js @@ -1,6 +1,6 @@ // // flockingBirds.js -// hifi +// examples // // Created by Brad Hefta-Gaub on 3/4/14. // Copyright (c) 2014 HighFidelity, Inc. All rights reserved. diff --git a/examples/globalCollisionsExample.js b/examples/globalCollisionsExample.js index 7abf707cbf..bd282086ea 100644 --- a/examples/globalCollisionsExample.js +++ b/examples/globalCollisionsExample.js @@ -1,6 +1,6 @@ // // globalCollisionsExample.js -// hifi +// examples // // Created by Brad Hefta-Gaub on 1/29/14. // Copyright (c) 2014 HighFidelity, Inc. All rights reserved. diff --git a/examples/gun.js b/examples/gun.js index 7bdde19d94..b340b7c7c9 100644 --- a/examples/gun.js +++ b/examples/gun.js @@ -1,6 +1,6 @@ // // gun.js -// hifi +// examples // // Created by Brad Hefta-Gaub on 12/31/13. // Modified by Philip on 3/3/14 diff --git a/examples/hideAvatarExample.js b/examples/hideAvatarExample.js index 7a0ece76eb..c22e0e0593 100644 --- a/examples/hideAvatarExample.js +++ b/examples/hideAvatarExample.js @@ -1,6 +1,6 @@ // // hideAvatarExample.js -// hifi +// examples // // Created by Brad Hefta-Gaub on 1/28/14. // Copyright (c) 2014 HighFidelity, Inc. All rights reserved. diff --git a/examples/hydraMove.js b/examples/hydraMove.js index 6268a38ba3..21e974d0af 100644 --- a/examples/hydraMove.js +++ b/examples/hydraMove.js @@ -1,6 +1,6 @@ // // hydraMove.js -// hifi +// examples // // Created by Brad Hefta-Gaub on 2/10/14. // Copyright (c) 2014 HighFidelity, Inc. All rights reserved. diff --git a/examples/includeExample.js b/examples/includeExample.js index 489928d759..03b3f22858 100644 --- a/examples/includeExample.js +++ b/examples/includeExample.js @@ -1,6 +1,6 @@ // // includeExample.js -// hifi +// examples // // Created by Brad Hefta-Gaub on 3/24/14 // Copyright (c) 2013 HighFidelity, Inc. All rights reserved. diff --git a/examples/inspect.js b/examples/inspect.js index 2443eadf9b..be9675afd4 100644 --- a/examples/inspect.js +++ b/examples/inspect.js @@ -1,6 +1,6 @@ // // inspect.js -// hifi +// examples // // Created by Clément Brisset on March 20, 2014 // Copyright (c) 2014 HighFidelity, Inc. All rights reserved. diff --git a/examples/lookAtExample.js b/examples/lookAtExample.js index 46e0863231..6a68b6c4fb 100644 --- a/examples/lookAtExample.js +++ b/examples/lookAtExample.js @@ -1,6 +1,6 @@ // // lookAtExample.js -// hifi +// examples // // Created by Brad Hefta-Gaub on 2/6/14. // Copyright (c) 2014 HighFidelity, Inc. All rights reserved. diff --git a/examples/lookWithMouse.js b/examples/lookWithMouse.js index ef8f11ec16..84aad1d553 100644 --- a/examples/lookWithMouse.js +++ b/examples/lookWithMouse.js @@ -1,6 +1,6 @@ // // lookWithMouse.js -// hifi +// examples // // Created by Brad Hefta-Gaub on 1/28/14. // Copyright (c) 2014 HighFidelity, Inc. All rights reserved. diff --git a/examples/lookWithTouch.js b/examples/lookWithTouch.js index 4406b4567e..d7bf00e67f 100644 --- a/examples/lookWithTouch.js +++ b/examples/lookWithTouch.js @@ -1,6 +1,6 @@ // // lookWithTouch.js -// hifi +// examples // // Created by Brad Hefta-Gaub on 1/28/14. // Copyright (c) 2014 HighFidelity, Inc. All rights reserved. diff --git a/examples/menuExample.js b/examples/menuExample.js index 874d95ec31..656983e243 100644 --- a/examples/menuExample.js +++ b/examples/menuExample.js @@ -1,6 +1,6 @@ // // menuExample.js -// hifi +// examples // // Created by Brad Hefta-Gaub on 2/24/14 // Copyright (c) 2013 HighFidelity, Inc. All rights reserved. diff --git a/examples/multitouchExample.js b/examples/multitouchExample.js index 51bbcc2c20..0c169c27cb 100644 --- a/examples/multitouchExample.js +++ b/examples/multitouchExample.js @@ -1,6 +1,6 @@ // // multitouchExample.js -// hifi +// examples // // Created by Brad Hefta-Gaub on 2/9/14. // Copyright (c) 2014 HighFidelity, Inc. All rights reserved. diff --git a/examples/overlaysExample.js b/examples/overlaysExample.js index 60f924338f..c7beafad53 100644 --- a/examples/overlaysExample.js +++ b/examples/overlaysExample.js @@ -1,6 +1,6 @@ // // overlaysExample.js -// hifi +// examples // // Created by Brad Hefta-Gaub on 2/14/14. // Copyright (c) 2014 HighFidelity, Inc. All rights reserved. diff --git a/examples/paintGun.js b/examples/paintGun.js index 0b30d99fb5..a4327b9a3f 100644 --- a/examples/paintGun.js +++ b/examples/paintGun.js @@ -1,6 +1,6 @@ // // paintGun.js -// hifi +// examples // // Created by Brad Hefta-Gaub on 12/31/13. // Copyright (c) 2013 HighFidelity, Inc. All rights reserved. diff --git a/examples/particleBird.js b/examples/particleBird.js index 5cd068bd60..464e1de2a1 100644 --- a/examples/particleBird.js +++ b/examples/particleBird.js @@ -1,6 +1,6 @@ // // particleBird.js -// hifi +// examples // // This sample script moves a voxel around like a bird and sometimes makes tweeting noises // diff --git a/examples/particleModelExample.js b/examples/particleModelExample.js index c43956cd3e..08f718e3ae 100644 --- a/examples/particleModelExample.js +++ b/examples/particleModelExample.js @@ -1,6 +1,6 @@ // // particleModelExample.js -// hifi +// examples // // Created by Brad Hefta-Gaub on 1/28/14. // Copyright (c) 2014 HighFidelity, Inc. All rights reserved. diff --git a/examples/rayPickExample.js b/examples/rayPickExample.js index 9c34cca1de..a4dfd93fdf 100644 --- a/examples/rayPickExample.js +++ b/examples/rayPickExample.js @@ -1,6 +1,6 @@ // // rayPickExample.js -// hifi +// examples // // Created by Brad Hefta-Gaub on 2/6/14. // Copyright (c) 2014 HighFidelity, Inc. All rights reserved. diff --git a/examples/ribbon.js b/examples/ribbon.js index a6e1edfa4a..d4ae887c28 100644 --- a/examples/ribbon.js +++ b/examples/ribbon.js @@ -1,6 +1,6 @@ // // ribbon.js -// hifi +// examples // // Created by Andrzej Kapolka on 2/24/14. // Copyright (c) 2014 High Fidelity, Inc. All rights reserved. diff --git a/examples/rideAlongWithAParticleExample.js b/examples/rideAlongWithAParticleExample.js index 1148b96b4d..0d2dee2ddd 100644 --- a/examples/rideAlongWithAParticleExample.js +++ b/examples/rideAlongWithAParticleExample.js @@ -1,6 +1,6 @@ // // rideAlongWithAParticleExample.js -// hifi +// examples // // Created by Brad Hefta-Gaub on 1/24/14. // Copyright (c) 2014 HighFidelity, Inc. All rights reserved. diff --git a/examples/seeingVoxelsExample.js b/examples/seeingVoxelsExample.js index 0cfe54d89e..2b17f08ac1 100644 --- a/examples/seeingVoxelsExample.js +++ b/examples/seeingVoxelsExample.js @@ -1,6 +1,6 @@ // // seeingVoxelsExample.js -// hifi +// examples // // Created by Brad Hefta-Gaub on 2/26/14 // Copyright (c) 2014 HighFidelity, Inc. All rights reserved. diff --git a/examples/selectAudioDevice.js b/examples/selectAudioDevice.js index 958ca7babf..872e98d95e 100644 --- a/examples/selectAudioDevice.js +++ b/examples/selectAudioDevice.js @@ -1,6 +1,6 @@ // // audioDeviceExample.js -// hifi +// examples // // Created by Brad Hefta-Gaub on 3/22/14 // Copyright (c) 2013 HighFidelity, Inc. All rights reserved. diff --git a/examples/settingsExample.js b/examples/settingsExample.js index 0dcc5482b6..6d06f2eb46 100644 --- a/examples/settingsExample.js +++ b/examples/settingsExample.js @@ -1,6 +1,6 @@ // // settingsExample.js -// hifi +// examples // // Created by Brad Hefta-Gaub on 3/22/14 // Copyright (c) 2013 HighFidelity, Inc. All rights reserved. diff --git a/examples/spaceInvadersExample.js b/examples/spaceInvadersExample.js index df985e2e18..ee2a0547b5 100644 --- a/examples/spaceInvadersExample.js +++ b/examples/spaceInvadersExample.js @@ -1,6 +1,6 @@ // // spaceInvadersExample.js -// hifi +// examples // // Created by Brad Hefta-Gaub on 1/30/14. // Copyright (c) 2014 HighFidelity, Inc. All rights reserved. diff --git a/examples/toyball.js b/examples/toyball.js index 36f1aa11e5..9a89f601b7 100644 --- a/examples/toyball.js +++ b/examples/toyball.js @@ -1,6 +1,6 @@ // // toyball.js -// hifi +// examples // // Created by Brad Hefta-Gaub on 1/20/14. // Copyright (c) 2014 HighFidelity, Inc. All rights reserved. diff --git a/examples/voxelDrumming.js b/examples/voxelDrumming.js index 178c6734d8..0485f1b9e2 100644 --- a/examples/voxelDrumming.js +++ b/examples/voxelDrumming.js @@ -1,6 +1,6 @@ // // voxelDrumming.js -// hifi +// examples // // Created by Brad Hefta-Gaub on 2/14/14. // Copyright (c) 2014 HighFidelity, Inc. All rights reserved.