mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 23:14:34 +02:00
Add headers to baseball script files
This commit is contained in:
parent
ec31504c11
commit
b6d26862fd
4 changed files with 44 additions and 0 deletions
|
@ -1,3 +1,14 @@
|
||||||
|
//
|
||||||
|
// bat.js
|
||||||
|
// examples/baseball/
|
||||||
|
//
|
||||||
|
// Created by Ryan Huffman on Nov 9, 2015
|
||||||
|
// Copyright 2015 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
|
||||||
|
//
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
Script.include("pitching.js");
|
Script.include("pitching.js");
|
||||||
var pitchingMachine = null;
|
var pitchingMachine = null;
|
||||||
|
|
|
@ -1,3 +1,14 @@
|
||||||
|
//
|
||||||
|
// firework.js
|
||||||
|
// examples/baseball/
|
||||||
|
//
|
||||||
|
// Created by Ryan Huffman on Nov 9, 2015
|
||||||
|
// Copyright 2015 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("http://rawgit.com/huffman/hifi/baseball/examples/baseball/utils.js");
|
Script.include("http://rawgit.com/huffman/hifi/baseball/examples/baseball/utils.js");
|
||||||
|
|
||||||
var emitters = [];
|
var emitters = [];
|
||||||
|
|
|
@ -1,3 +1,14 @@
|
||||||
|
//
|
||||||
|
// pitching.js
|
||||||
|
// examples/baseball/
|
||||||
|
//
|
||||||
|
// Created by Ryan Huffman on Nov 9, 2015
|
||||||
|
// Copyright 2015 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
|
||||||
|
//
|
||||||
|
|
||||||
print("Loading pitching");
|
print("Loading pitching");
|
||||||
//Script.include("../libraries/line.js");
|
//Script.include("../libraries/line.js");
|
||||||
Script.include("https://raw.githubusercontent.com/huffman/hifi/line-js/examples/libraries/line.js");
|
Script.include("https://raw.githubusercontent.com/huffman/hifi/line-js/examples/libraries/line.js");
|
||||||
|
|
|
@ -1,3 +1,14 @@
|
||||||
|
//
|
||||||
|
// utils.js
|
||||||
|
// examples/baseball/
|
||||||
|
//
|
||||||
|
// Created by Ryan Huffman on Nov 9, 2015
|
||||||
|
// Copyright 2015 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
|
||||||
|
//
|
||||||
|
|
||||||
randomInt = function(low, high) {
|
randomInt = function(low, high) {
|
||||||
return Math.floor(randomFloat(low, high));
|
return Math.floor(randomFloat(low, high));
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue