mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-07 10:02:24 +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 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() {
|
||||
var messageChannel;
|
||||
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() {
|
||||
this.equipped = false;
|
||||
this.isActive = false;
|
||||
|
|
Loading…
Reference in a new issue