mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-08-09 18:13:51 +02:00
removed unneeded whitespace
This commit is contained in:
parent
737f11fb7a
commit
ccecce77de
2 changed files with 2 additions and 5 deletions
|
@ -15,7 +15,7 @@ var DEFAULT_DPI = 32;
|
||||||
var DEFAULT_WIDTH = 0.5;
|
var DEFAULT_WIDTH = 0.5;
|
||||||
|
|
||||||
|
|
||||||
var TABLET_URL = "https://s3.amazonaws.com/hifi-public/tony/tablet.fbx"
|
var TABLET_URL = "https://s3.amazonaws.com/hifi-public/tony/tablet.fbx"
|
||||||
// returns object with two fields:
|
// returns object with two fields:
|
||||||
// * position - position in front of the user
|
// * position - position in front of the user
|
||||||
// * rotation - rotation of entity so it faces the user.
|
// * rotation - rotation of entity so it faces the user.
|
||||||
|
@ -39,7 +39,7 @@ function calcSpawnInfo() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// ctor
|
// ctor
|
||||||
WebTablet = function (url, width, dpi, location, clientOnly) {
|
WebTablet = function (url, width, dpi, location, clientOnly) {
|
||||||
var _this = this;
|
var _this = this;
|
||||||
var ASPECT = 4.0 / 3.0;
|
var ASPECT = 4.0 / 3.0;
|
||||||
var WIDTH = width || DEFAULT_WIDTH;
|
var WIDTH = width || DEFAULT_WIDTH;
|
||||||
|
@ -71,8 +71,6 @@ WebTablet = function (url, width, dpi, location, clientOnly) {
|
||||||
|
|
||||||
this.tabletEntityID = Entities.addEntity(tabletProperties, clientOnly);
|
this.tabletEntityID = Entities.addEntity(tabletProperties, clientOnly);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var WEB_ENTITY_REDUCTION_FACTOR = {x: 0.78, y: 0.85};
|
var WEB_ENTITY_REDUCTION_FACTOR = {x: 0.78, y: 0.85};
|
||||||
var WEB_ENTITY_Z_OFFSET = -0.01;
|
var WEB_ENTITY_Z_OFFSET = -0.01;
|
||||||
var HOME_BUTTON_Y_OFFSET = -0.32;
|
var HOME_BUTTON_Y_OFFSET = -0.32;
|
||||||
|
|
|
@ -30,7 +30,6 @@ var TOOLBAR_MARGIN_Y = 0;
|
||||||
var marketplaceVisible = false;
|
var marketplaceVisible = false;
|
||||||
var marketplaceWebTablet;
|
var marketplaceWebTablet;
|
||||||
|
|
||||||
|
|
||||||
// We persist clientOnly data in the .ini file, and reconsistitute it on restart.
|
// We persist clientOnly data in the .ini file, and reconsistitute it on restart.
|
||||||
// To keep things consistent, we pickle the tablet data in Settings, and kill any existing such on restart and domain change.
|
// To keep things consistent, we pickle the tablet data in Settings, and kill any existing such on restart and domain change.
|
||||||
var persistenceKey = "io.highfidelity.lastDomainTablet";
|
var persistenceKey = "io.highfidelity.lastDomainTablet";
|
||||||
|
|
Loading…
Reference in a new issue