function render()
    {
        if (freeCam == false) {
            camera.lookAt(modelPos);
        }
        spotLight.target = lightTarg;
        renderer.render( scene, camera );
    }
/* ------------------------------------------------------------------------
     * render:
     * ------------------------------------------------------------------------
     * Call Threejs function to render to the canvas.
     */


Call Threejs function to render to the canvas.
Call Threejs function to render to the canvas .
function render()
    {
        if (freeCam == false) {
            camera.lookAt(modelPos);
        }
        spotLight.target = lightTarg;
        renderer.render( scene, camera );
    }
function render ( ) { if ( freeCam == false ) { camera . lookAt ( modelPos ) ; } spotLight . target = lightTarg ; renderer . render ( scene , camera ) ; }
render:
render :