mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 08:49:05 +02:00
inital licensing fixes for JS headers
This commit is contained in:
parent
d9fdd87aa3
commit
5b822dc57c
12 changed files with 58 additions and 24 deletions
|
@ -1,13 +1,15 @@
|
||||||
//
|
//
|
||||||
// addVoxelOnMouseClickExample.js
|
// addVoxelOnMouseClickExample.js
|
||||||
// hifi
|
// examples
|
||||||
//
|
//
|
||||||
// Created by Brad Hefta-Gaub on 2/6/14.
|
// Created by Brad Hefta-Gaub on 2/6/14.
|
||||||
// Copyright (c) 2014 HighFidelity, Inc. All rights reserved.
|
// Copyright 2014 High Fidelity, Inc.
|
||||||
//
|
//
|
||||||
// This is an example script that demonstrates use of the Camera and Voxels class to implement
|
// This is an example script that demonstrates use of the Camera and Voxels class to implement
|
||||||
// clicking on a voxel and adding a new voxel on the clicked on face
|
// clicking on a voxel and adding a new voxel on the clicked on face
|
||||||
//
|
//
|
||||||
|
// Distributed under the Apache License, Version 2.0.
|
||||||
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
//
|
//
|
||||||
|
|
||||||
function mousePressEvent(event) {
|
function mousePressEvent(event) {
|
||||||
|
|
|
@ -1,14 +1,17 @@
|
||||||
//
|
//
|
||||||
// audioBall.js
|
// audioBall.js
|
||||||
// hifi
|
// examples
|
||||||
//
|
//
|
||||||
// Created by Athanasios Gaitatzes on 2/10/14.
|
// Created by Athanasios Gaitatzes on 2/10/14.
|
||||||
// Copyright (c) 2014 HighFidelity, Inc. All rights reserved.
|
// Copyright 2014 High Fidelity, Inc.
|
||||||
//
|
//
|
||||||
// This script creates a particle in front of the user that stays in front of
|
// This script creates a particle in front of the user that stays in front of
|
||||||
// the user's avatar as they move, and animates it's radius and color
|
// the user's avatar as they move, and animates it's radius and color
|
||||||
// in response to the audio intensity.
|
// in response to the audio intensity.
|
||||||
//
|
//
|
||||||
|
// Distributed under the Apache License, Version 2.0.
|
||||||
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
//
|
||||||
|
|
||||||
var sound = new Sound("https://s3-us-west-1.amazonaws.com/highfidelity-public/sounds/Animals/mexicanWhipoorwill.raw");
|
var sound = new Sound("https://s3-us-west-1.amazonaws.com/highfidelity-public/sounds/Animals/mexicanWhipoorwill.raw");
|
||||||
var CHANCE_OF_PLAYING_SOUND = 0.01;
|
var CHANCE_OF_PLAYING_SOUND = 0.01;
|
||||||
|
|
|
@ -1,13 +1,15 @@
|
||||||
//
|
//
|
||||||
// audioDeviceExample.js
|
// audioDeviceExample.js
|
||||||
// hifi
|
// examples
|
||||||
//
|
//
|
||||||
// Created by Brad Hefta-Gaub on 3/22/14
|
// Created by Brad Hefta-Gaub on 3/22/14
|
||||||
// Copyright (c) 2013 HighFidelity, Inc. All rights reserved.
|
// Copyright 2013 High Fidelity, Inc.
|
||||||
//
|
//
|
||||||
// This is an example script that demonstrates use of the Menu object
|
// This is an example script that demonstrates use of the Menu object
|
||||||
//
|
//
|
||||||
|
// Distributed under the Apache License, Version 2.0.
|
||||||
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
//
|
||||||
|
|
||||||
var outputDevices = AudioDevice.getOutputDevices();
|
var outputDevices = AudioDevice.getOutputDevices();
|
||||||
var defaultOutputDevice = AudioDevice.getDefaultOutputDevice();
|
var defaultOutputDevice = AudioDevice.getDefaultOutputDevice();
|
||||||
|
|
|
@ -1,13 +1,15 @@
|
||||||
//
|
//
|
||||||
// bot.js
|
// bot.js
|
||||||
// hifi
|
// examples
|
||||||
//
|
//
|
||||||
// Created by Stephen Birarda on 2/20/14.
|
// Created by Stephen Birarda on 2/20/14.
|
||||||
// Modified by Philip on 3/3/14
|
// Modified by Philip on 3/3/14
|
||||||
// Copyright (c) 2014 HighFidelity, Inc. All rights reserved.
|
// Copyright 2014 High Fidelity, Inc.
|
||||||
//
|
//
|
||||||
// This is an example script that demonstrates an NPC avatar.
|
// This is an example script that demonstrates an NPC avatar.
|
||||||
//
|
//
|
||||||
|
// Distributed under the Apache License, Version 2.0.
|
||||||
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
//
|
//
|
||||||
|
|
||||||
function getRandomFloat(min, max) {
|
function getRandomFloat(min, max) {
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
//
|
//
|
||||||
// cameraExample.js
|
// cameraExample.js
|
||||||
// hifi
|
// examples
|
||||||
//
|
//
|
||||||
// Created by Brad Hefta-Gaub on 2/6/14.
|
// Created by Brad Hefta-Gaub on 2/6/14.
|
||||||
// Copyright (c) 2014 HighFidelity, Inc. All rights reserved.
|
// Copyright 2014 High Fidelity, Inc.
|
||||||
//
|
//
|
||||||
// This is an example script that demonstrates use of the Camera class
|
// This is an example script that demonstrates use of the Camera class
|
||||||
//
|
//
|
||||||
|
// Distributed under the Apache License, Version 2.0.
|
||||||
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
//
|
//
|
||||||
|
|
||||||
var damping = 0.9;
|
var damping = 0.9;
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
//
|
//
|
||||||
// clipboardExample.js
|
// clipboardExample.js
|
||||||
// hifi
|
// examples
|
||||||
//
|
//
|
||||||
// Created by Brad Hefta-Gaub on 1/28/14.
|
// Created by Brad Hefta-Gaub on 1/28/14.
|
||||||
// Copyright (c) 2014 HighFidelity, Inc. All rights reserved.
|
// Copyright 2014 HighFidelity, Inc. All rights reserved.
|
||||||
//
|
//
|
||||||
// This is an example script that demonstrates use of the Clipboard class
|
// This is an example script that demonstrates use of the Clipboard class
|
||||||
//
|
//
|
||||||
|
// Distributed under the Apache License, Version 2.0.
|
||||||
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
//
|
//
|
||||||
|
|
||||||
var selectedVoxel = { x: 0, y: 0, z: 0, s: 0 };
|
var selectedVoxel = { x: 0, y: 0, z: 0, s: 0 };
|
||||||
|
|
|
@ -1,14 +1,16 @@
|
||||||
//
|
//
|
||||||
// collidingParticles.js
|
// collidingParticles.js
|
||||||
// hifi
|
// examples
|
||||||
//
|
//
|
||||||
// Created by Brad Hefta-Gaub on 12/31/13.
|
// Created by Brad Hefta-Gaub on 12/31/13.
|
||||||
// Copyright (c) 2013 HighFidelity, Inc. All rights reserved.
|
// Copyright 2013 High Fidelity, Inc.
|
||||||
//
|
//
|
||||||
// This is an example script that creates a couple particles, and sends them on a collision course.
|
// This is an example script that creates a couple particles, and sends them on a collision course.
|
||||||
// One of the particles has a script that when it collides with another particle, it swaps colors with that particle.
|
// One of the particles has a script that when it collides with another particle, it swaps colors with that particle.
|
||||||
// The other particle has a script that when it collides with another particle it set's it's script to a suicide script.
|
// The other particle has a script that when it collides with another particle it set's it's script to a suicide script.
|
||||||
//
|
//
|
||||||
|
// Distributed under the Apache License, Version 2.0.
|
||||||
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
//
|
//
|
||||||
|
|
||||||
var currentIteration = 0;
|
var currentIteration = 0;
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
//
|
//
|
||||||
// controllerExample.js
|
// controllerExample.js
|
||||||
// hifi
|
// examples
|
||||||
//
|
//
|
||||||
// Created by Brad Hefta-Gaub on 1/28/14.
|
// Created by Brad Hefta-Gaub on 1/28/14.
|
||||||
// Copyright (c) 2014 HighFidelity, Inc. All rights reserved.
|
// Copyright 2014 High Fidelity, Inc.
|
||||||
//
|
//
|
||||||
// This is an example script that demonstrates use of the Controller class
|
// This is an example script that demonstrates use of the Controller class
|
||||||
//
|
//
|
||||||
|
// Distributed under the Apache License, Version 2.0.
|
||||||
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
//
|
//
|
||||||
|
|
||||||
// initialize our triggers
|
// initialize our triggers
|
||||||
|
|
|
@ -1,12 +1,16 @@
|
||||||
//
|
//
|
||||||
// count.js
|
// count.js
|
||||||
// hifi
|
// examples
|
||||||
//
|
//
|
||||||
// Created by Brad Hefta-Gaub on 12/31/13.
|
// Created by Brad Hefta-Gaub on 12/31/13.
|
||||||
// Copyright (c) 2013 HighFidelity, Inc. All rights reserved.
|
// Copyright 2013 High Fidelity, Inc. All rights reserved.
|
||||||
//
|
//
|
||||||
// This is an example script that runs in a loop and displays a counter to the log
|
// This is an example script that runs in a loop and displays a counter to the log
|
||||||
//
|
//
|
||||||
|
// Distributed under the Apache License, Version 2.0.
|
||||||
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
//
|
||||||
|
//
|
||||||
|
|
||||||
var count = 0;
|
var count = 0;
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
//
|
//
|
||||||
// crazylegs.js
|
// crazylegs.js
|
||||||
// hifi
|
// examples
|
||||||
//
|
//
|
||||||
// Created by Andrzej Kapolka on 3/6/14.
|
// Created by Andrzej Kapolka on 3/6/14.
|
||||||
// Copyright (c) 2014 High Fidelity, Inc. All rights reserved.
|
// Copyright 2014 High Fidelity, Inc.
|
||||||
|
//
|
||||||
|
// Distributed under the Apache License, Version 2.0.
|
||||||
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
//
|
//
|
||||||
|
|
||||||
var FREQUENCY = 5.0;
|
var FREQUENCY = 5.0;
|
||||||
|
|
|
@ -1,5 +1,12 @@
|
||||||
|
//
|
||||||
// defaultScripts.js
|
// defaultScripts.js
|
||||||
// Copyright (c) 2013 HighFidelity, Inc. All rights reserved.
|
// examples
|
||||||
|
//
|
||||||
|
// Copyright 2014 High Fidelity, Inc.
|
||||||
|
//
|
||||||
|
// Distributed under the Apache License, Version 2.0.
|
||||||
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
|
||||||
Script.include("lookWithTouch.js");
|
Script.include("lookWithTouch.js");
|
||||||
Script.include("editVoxels.js");
|
Script.include("editVoxels.js");
|
||||||
Script.include("selectAudioDevice.js");
|
Script.include("selectAudioDevice.js");
|
||||||
|
|
|
@ -1,12 +1,15 @@
|
||||||
//
|
//
|
||||||
// editParticleExample.js
|
// editParticleExample.js
|
||||||
// hifi
|
// examples
|
||||||
//
|
//
|
||||||
// Created by Brad Hefta-Gaub on 12/31/13.
|
// Created by Brad Hefta-Gaub on 12/31/13.
|
||||||
// Copyright (c) 2013 HighFidelity, Inc. All rights reserved.
|
// Copyright 2014 High Fidelity, Inc.
|
||||||
//
|
//
|
||||||
// This is an example script that demonstrates creating and editing a particle
|
// This is an example script that demonstrates creating and editing a particle
|
||||||
//
|
//
|
||||||
|
// Distributed under the Apache License, Version 2.0.
|
||||||
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
//
|
||||||
|
|
||||||
var count = 0;
|
var count = 0;
|
||||||
var moveUntil = 2000;
|
var moveUntil = 2000;
|
||||||
|
|
Loading…
Reference in a new issue