Rebuilding the Scene
function rebuildScene(structured) {
structured.MainObject = mainObject; // Add back the mainObject
structured = buildGeometry(structured);
scene.add(structured.MainObject);
animate();
document.getElementById('c').style.display = 'block';
}

Last updated