mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
added headers to tutorial code
This commit is contained in:
parent
2029532070
commit
caca60c039
6 changed files with 54 additions and 9 deletions
examples/tutorials/fireworks
|
@ -1,4 +1,12 @@
|
|||
// Chapter 1: fireworksLaunchButtonEntityScript.js
|
||||
//
|
||||
// fireworksLaunchButtonEntityScript.js
|
||||
//
|
||||
// Created by Eric Levin on 3/7/2017
|
||||
// Copyright 2016 High Fidelity, Inc.
|
||||
//
|
||||
// This is the chapter 1 entity script of the fireworks tutorial (https://docs.highfidelity.com/docs/fireworks-scripting-tutorial)
|
||||
//
|
||||
// Distributed under the Apache License, Version 2.0.
|
||||
|
||||
(function() {
|
||||
Script.include("../../libraries/utils.js");
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
|
||||
// Chapter1 : fireworksLaumchButtonSpawner.js
|
||||
//
|
||||
// fireworksLaunchButtonSpawner.js
|
||||
//
|
||||
// Created by Eric Levin on 3/7/2017
|
||||
// Copyright 2016 High Fidelity, Inc.
|
||||
//
|
||||
// This is the chapter 1 interface script of the fireworks tutorial (https://docs.highfidelity.com/docs/fireworks-scripting-tutorial)
|
||||
//
|
||||
// Distributed under the Apache License, Version 2.0.
|
||||
|
||||
var orientation = Camera.getOrientation();
|
||||
orientation = Quat.safeEulerAngles(orientation);
|
||||
|
|
|
@ -1,4 +1,12 @@
|
|||
// Chapter 2: fireworksLaunchButtonEntityScript.js
|
||||
//
|
||||
// fireworksLaunchButtonEntityScript.js
|
||||
//
|
||||
// Created by Eric Levin on 3/7/2017
|
||||
// Copyright 2016 High Fidelity, Inc.
|
||||
//
|
||||
// This is the chapter 2 entity script of the fireworks tutorial (https://docs.highfidelity.com/docs/fireworks-scripting-tutorial)
|
||||
//
|
||||
// Distributed under the Apache License, Version 2.0.
|
||||
|
||||
(function() {
|
||||
Script.include("../../libraries/utils.js");
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
|
||||
// Chapter 2 : fireworksLaumchButtonSpawner.js
|
||||
//
|
||||
// fireworksLaunchButtonSpawner.js
|
||||
//
|
||||
// Created by Eric Levin on 3/7/2017
|
||||
// Copyright 2016 High Fidelity, Inc.
|
||||
//
|
||||
// This is the chapter 2 interface script of the fireworks tutorial (https://docs.highfidelity.com/docs/fireworks-scripting-tutorial)
|
||||
//
|
||||
// Distributed under the Apache License, Version 2.0.
|
||||
|
||||
var orientation = Camera.getOrientation();
|
||||
orientation = Quat.safeEulerAngles(orientation);
|
||||
|
|
|
@ -1,4 +1,12 @@
|
|||
// Chapter 3: fireworksLaunchButtonEntityScript.js
|
||||
//
|
||||
// fireworksLaunchButtonEntityScript.js
|
||||
//
|
||||
// Created by Eric Levin on 3/7/2017
|
||||
// Copyright 2016 High Fidelity, Inc.
|
||||
//
|
||||
// This is the chapter 3 entity script of the fireworks tutorial (https://docs.highfidelity.com/docs/fireworks-scripting-tutorial)
|
||||
//
|
||||
// Distributed under the Apache License, Version 2.0.
|
||||
|
||||
(function() {
|
||||
Script.include("../../libraries/utils.js");
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
|
||||
// Chapter 2 : fireworksLaumchButtonSpawner.js
|
||||
//
|
||||
// fireworksLaunchButtonSpawner.js
|
||||
//
|
||||
// Created by Eric Levin on 3/7/2017
|
||||
// Copyright 2016 High Fidelity, Inc.
|
||||
//
|
||||
// This is the chapter 3 interface script of the fireworks tutorial (https://docs.highfidelity.com/docs/fireworks-scripting-tutorial)
|
||||
//
|
||||
// Distributed under the Apache License, Version 2.0.
|
||||
|
||||
var orientation = Camera.getOrientation();
|
||||
orientation = Quat.safeEulerAngles(orientation);
|
||||
|
|
Loading…
Reference in a new issue