mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 12:28:02 +02:00
Fix indentation, 4 -> 2
This commit is contained in:
parent
7515c26d71
commit
961f629074
1 changed files with 2 additions and 4 deletions
|
@ -70,16 +70,14 @@ var panelLocationOrder = [
|
||||||
|
|
||||||
// Location index is 0-based
|
// Location index is 0-based
|
||||||
function locationIndexToPanelIndex(locationIndex) {
|
function locationIndexToPanelIndex(locationIndex) {
|
||||||
return panelLocationOrder.indexOf(locationIndex) + 1;
|
return panelLocationOrder.indexOf(locationIndex) + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Panel index is 1-based
|
// Panel index is 1-based
|
||||||
function panelIndexToLocationIndex(panelIndex) {
|
function panelIndexToLocationIndex(panelIndex) {
|
||||||
return panelLocationOrder[panelIndex - 1];
|
return panelLocationOrder[panelIndex - 1];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var MAX_NUM_PANELS = 21;
|
var MAX_NUM_PANELS = 21;
|
||||||
var DRONE_VOLUME = 0.3;
|
var DRONE_VOLUME = 0.3;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue