Update app.py
Browse files
app.py
CHANGED
@@ -1037,8 +1037,8 @@ window.play = play;
|
|
1037 |
mesh.setVerticesData(BABYLON.VertexBuffer.PositionKind, positions);
|
1038 |
|
1039 |
mesh.rotationQuaternion = null;
|
1040 |
-
mesh.position.z = coords[counter].lat;
|
1041 |
-
mesh.position.x = coords[counter].lng;
|
1042 |
mesh.rotation.y = coords[counter].heading / 180 * Math.PI;
|
1043 |
mesh.rotation.z = -coords[counter].pitch / 180 * Math.PI;
|
1044 |
|
|
|
1037 |
mesh.setVerticesData(BABYLON.VertexBuffer.PositionKind, positions);
|
1038 |
|
1039 |
mesh.rotationQuaternion = null;
|
1040 |
+
//mesh.position.z = coords[counter].lat;
|
1041 |
+
//mesh.position.x = coords[counter].lng;
|
1042 |
mesh.rotation.y = coords[counter].heading / 180 * Math.PI;
|
1043 |
mesh.rotation.z = -coords[counter].pitch / 180 * Math.PI;
|
1044 |
|