dist/claygl.es.js
function (x, y, output, forcePickAll) {
        this.renderer.screenToNDC(x, y, this._ndc);
        this.camera.castRay(this._ndc, this._ray);

        output = output || [];

        this._intersectNode(this.scene, output, forcePickAll || false);

        output.sort(this._intersectionCompareFunc);

        return output;
    }
function (x, y, output, forcePickAll) {
        this.renderer.screenToNDC(x, y, this._ndc);
        this.camera.castRay(this._ndc, this._ray);

        output = output || [];

        this._intersectNode(this.scene, output, forcePickAll || false);

        output.sort(this._intersectionCompareFunc);

        return output;
    }
function ( x , y , output , forcePickAll ) { this . renderer . screenToNDC ( x , y , this . _ndc ) ; this . camera . castRay ( this . _ndc , this . _ray ) ; output = output || [ ] ; this . _intersectNode ( this . scene , output , forcePickAll || false ) ; output . sort ( this . _intersectionCompareFunc ) ; return output ; }
Pick all intersection objects, wich will be sorted from near to far
@param  {number} x Mouse position x
@param  {number} y Mouse position y
@param  {Array} [output]
@param  {boolean} [forcePickAll=false] ignore ignorePicking
@return {Array.<clay.picking.RayPicking~Intersection>}
Pick all intersection objects wich will be sorted from near to far