mirror of
https://github.com/JulianGro/overte.git
synced 2025-06-28 19:50:36 +02:00
Add headers to stopwatch scripts
This commit is contained in:
parent
9df7bf00df
commit
47235d24aa
3 changed files with 30 additions and 0 deletions
|
@ -1,3 +1,13 @@
|
||||||
|
//
|
||||||
|
// spawnStopwatch.js
|
||||||
|
//
|
||||||
|
// Created by Ryan Huffman on 1/20/17.
|
||||||
|
// Copyright 2017 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 positionToSpawn = Vec3.sum(MyAvatar.position, Quat.getFront(MyAvatar.rotation));
|
var positionToSpawn = Vec3.sum(MyAvatar.position, Quat.getFront(MyAvatar.rotation));
|
||||||
|
|
||||||
var stopwatchID = Entities.addEntity({
|
var stopwatchID = Entities.addEntity({
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
//
|
||||||
|
// stopwatchServer.js
|
||||||
|
//
|
||||||
|
// Created by Ryan Huffman on 1/20/17.
|
||||||
|
// Copyright 2017 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() {
|
||||||
var messageChannel;
|
var messageChannel;
|
||||||
this.preload = function(entityID) {
|
this.preload = function(entityID) {
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
//
|
||||||
|
// stopwatchServer.js
|
||||||
|
//
|
||||||
|
// Created by Ryan Huffman on 1/20/17.
|
||||||
|
// Copyright 2017 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() {
|
||||||
this.equipped = false;
|
this.equipped = false;
|
||||||
this.isActive = false;
|
this.isActive = false;
|
||||||
|
|
Loading…
Reference in a new issue