mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 17:35:45 +02:00
fix typo
This commit is contained in:
parent
945b5bd00f
commit
a899fe0e1b
1 changed files with 3 additions and 1 deletions
|
@ -44,6 +44,7 @@ function createEarth() {
|
||||||
type: 'Model',
|
type: 'Model',
|
||||||
modelURL: EARTH_MODEL_URL,
|
modelURL: EARTH_MODEL_URL,
|
||||||
position: EARTH_CENTER_POSITION,
|
position: EARTH_CENTER_POSITION,
|
||||||
|
collisionsWillMove:true,
|
||||||
dimensions: {
|
dimensions: {
|
||||||
x: EARTH_SPHERE_RADIUS,
|
x: EARTH_SPHERE_RADIUS,
|
||||||
y: EARTH_SPHERE_RADIUS,
|
y: EARTH_SPHERE_RADIUS,
|
||||||
|
@ -116,6 +117,7 @@ function createQuakeMarker(earthquake) {
|
||||||
var markerProperties = {
|
var markerProperties = {
|
||||||
name: earthquake.properties.place,
|
name: earthquake.properties.place,
|
||||||
type: 'Sphere',
|
type: 'Sphere',
|
||||||
|
parentID:earth,
|
||||||
dimensions: QUAKE_MARKER_DIMENSIONS,
|
dimensions: QUAKE_MARKER_DIMENSIONS,
|
||||||
position: getQuakePosition(earthquake),
|
position: getQuakePosition(earthquake),
|
||||||
lifetime: 6000,
|
lifetime: 6000,
|
||||||
|
@ -156,7 +158,7 @@ function processQuakes(earthquakes) {
|
||||||
print('markers length:' + markers.length)
|
print('markers length:' + markers.length)
|
||||||
}
|
}
|
||||||
|
|
||||||
var quakea;
|
var quakes;
|
||||||
var markers = [];
|
var markers = [];
|
||||||
|
|
||||||
var earth = createEarth();
|
var earth = createEarth();
|
||||||
|
|
Loading…
Reference in a new issue