BEPUphysics.DataStructures.MeshBoundingBoxTree.InternalNode.GetOverlaps C# (CSharp) Метод

GetOverlaps() приватный Метод

private GetOverlaps ( BoundingSphere &boundingSphere, IList outputOverlappedElements ) : void
boundingSphere BoundingSphere
outputOverlappedElements IList
Результат void
            internal override void GetOverlaps(ref BoundingSphere boundingSphere, IList<int> outputOverlappedElements)
            {
                bool intersects;
                ChildA.BoundingBox.Intersects(ref boundingSphere, out intersects);
                if (intersects)
                    ChildA.GetOverlaps(ref boundingSphere, outputOverlappedElements);
                ChildB.BoundingBox.Intersects(ref boundingSphere, out intersects);
                if (intersects)
                    ChildB.GetOverlaps(ref boundingSphere, outputOverlappedElements);
            }

Same methods

MeshBoundingBoxTree.InternalNode::GetOverlaps ( Microsoft.Xna.Framework.BoundingBox &boundingBox, IList outputOverlappedElements ) : void
MeshBoundingBoxTree.InternalNode::GetOverlaps ( BoundingFrustum &boundingFrustum, IList outputOverlappedElements ) : void
MeshBoundingBoxTree.InternalNode::GetOverlaps ( Microsoft.Xna.Framework.Ray &ray, float maximumLength, IList outputOverlappedElements ) : void