Source: Engine/Primitive/AxBoundingVolume.js

/**
 * Represents the bounding volume of a volumetric object
 * @constructor
 */
function AxBoundingVolume()
{
    this.center = new AxVector3();
    this.box = new AxVector3();
    
    this.sphereRadius = 0.0;
}

/**
 * Returns whether the bounding volume is inside the view frustum of the given camera
 * @param {AxMatrix} viewFrustum The world-view-projection transformation to check against
 * @return {Boolean} True if the bounding volume is in the given transormation's view frustum
 */
AxBoundingVolume.prototype.InsideViewFrustum = function(viewFrustum)
{
    return AxMaths.SphereViewFrustumIntersection(viewFrustum, this.center, this.sphereRadius);
};

Documentation generated by JSDoc 3.5.3 on Mon Feb 19 2018 20:39:26 GMT+0200 (FLE Standard Time)