1. I am following this tutorial.
Problem I am facing is in following block:
// configure entity position and orientation _3Dobjects[id].graphMesh.position.copy(center); _3Dobjects[id].graphMesh.lookAt(centerHigh); _3Dobjects[id].graphMesh.up.copy(latDir);
graphMesh is null. Going through the code, I couldn’t find this being initialized.
Only assignment I could see is :
function _3DObject(){ this.graphMesh = null; //Three.js 3DObject.mesh this.minWGS84 = null; //location bounding box this.maxWGS84 = null; }
So, how to get graphMesh initialized?
With regards