mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 07:19:05 +02:00
Update weatherBox.js
Added header
This commit is contained in:
parent
3b75cbea3a
commit
6f646dc193
1 changed files with 16 additions and 1 deletions
|
@ -1,3 +1,18 @@
|
||||||
|
//
|
||||||
|
// weatherBox.js
|
||||||
|
// examples/widgets/weatherBox
|
||||||
|
//
|
||||||
|
// Created by Eric Levin on 1/20/16.
|
||||||
|
// Copyright 2016 High Fidelity, Inc.
|
||||||
|
//
|
||||||
|
// This script creates a weatherBox widget which (in final version) will display the current weather
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// 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("../libraries/utils.js");
|
Script.include("../libraries/utils.js");
|
||||||
var weatherBox, boxDimensions;
|
var weatherBox, boxDimensions;
|
||||||
var orientation = Camera.getOrientation();
|
var orientation = Camera.getOrientation();
|
||||||
|
@ -143,4 +158,4 @@ function cleanup() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Script.scriptEnding.connect(cleanup);
|
Script.scriptEnding.connect(cleanup);
|
||||||
|
|
Loading…
Reference in a new issue