dist/claygl.es.js
function (camera) {
        var idx = this._cameraList.indexOf(camera);
        if (idx >= 0) {
            this._cameraList.splice(idx, 1);
        }
        this._cameraList.unshift(camera);
    }
function (camera) {
        var idx = this._cameraList.indexOf(camera);
        if (idx >= 0) {
            this._cameraList.splice(idx, 1);
        }
        this._cameraList.unshift(camera);
    }
function ( camera ) { var idx = this . _cameraList . indexOf ( camera ) ; if ( idx >= 0 ) { this . _cameraList . splice ( idx , 1 ) ; } this . _cameraList . unshift ( camera ) ; }
Set main camera of the scene.
@param {claygl.Camera} camera
Set main camera of the scene .