dist/claygl.es.js
function(frustum) {
        // Check if all coords of frustum is on plane all under plane
        var coords = frustum.vertices;
        var normal = this.normal.array;
        var onPlane = vec3.dot(coords[0].array, normal) > this.distance;
        for (var i = 1; i < 8; i++) {
            if ((vec3.dot(coords[i].array, normal) > this.distance) != onPlane) {
                return true;
            }
        }
    }
function(frustum) {
        // Check if all coords of frustum is on plane all under plane
        var coords = frustum.vertices;
        var normal = this.normal.array;
        var onPlane = vec3.dot(coords[0].array, normal) > this.distance;
        for (var i = 1; i < 8; i++) {
            if ((vec3.dot(coords[i].array, normal) > this.distance) != onPlane) {
                return true;
            }
        }
    }
function ( frustum ) { // Check if all coords of frustum is on plane all under plane var coords = frustum . vertices ; var normal = this . normal . array ; var onPlane = vec3 . dot ( coords [ 0 ] . array , normal ) > this . distance ; for ( var i = 1 ; i < 8 ; i ++ ) { if ( ( vec3 . dot ( coords [ i ] . array , normal ) > this . distance ) != onPlane ) { return true ; } } }
If the plane intersect a frustum
@param  {clay.Frustum} Frustum
@return {boolean}
If the plane intersect a frustum