src/core/engines/ogl/ogl.js
/**
     *  Removes all objects from the scene
     */
Removes all objects from the scene
Removes all objects from the scene
clearScene() {
        while (scene.children.length > 0) {
            let child = scene.children[0];
            scene.removeChild(child);
            child = null;
        }
    }
clearScene ( ) { while ( scene . children . length > 0 ) { let child = scene . children [ 0 ] ; scene . removeChild ( child ) ; child = null ; } }
Removes all objects from the scene
Removes all objects from the scene