Open csavage1994 opened 8 years ago
How about copying what's done in init()
?
w = container.offsetWidth || window.innerWidth;
h = container.offsetHeight || window.innerHeight;
camera.aspect = w / h;
camera.updateProjectionMatrix();
renderer.setSize( w, h );
Hmm... Still hangs on loading.gif when I resize the window with these changes.
In the master branch of this repo, any time the window is resized the globe will disappear. The issue persisted across Chrome and Safari. There was a PR that was merged which caused this problem, so the changes I made were to revert the faulty code.