Пример #1
0
        /// <summary>
        /// Tests if the oriented bounding box intersects with this bounding sphere.
        /// </summary>
        /// <param name="obb">Oriented bounding box to test</param>
        /// <returns>True if they intersect</returns>
        public override bool Intersects(OrientedBoundingBox obb)
        {
            if (obb == null)
            {
                return(false);
            }

            return(obb.Intersects(this));
        }