Update mapviewgl.js
This commit is contained in:
parent
fa35c6e1eb
commit
f7afcdeb66
@ -307,7 +307,7 @@ function calcDist(pointa, pointb) {
|
||||
return distance;
|
||||
}
|
||||
|
||||
function grabPositionByName(name) { return scene.getObjectByName(name).position; }
|
||||
function grabPositionByName(name) { return scene.getObjectByName(name.split('@')[name.split('@').length-1]).position; }
|
||||
|
||||
|
||||
function calcEndpointByHeading(heading,startvec = new THREE.Vector3(0,0,0)) {
|
||||
|
Loading…
Reference in New Issue
Block a user