public bool Contains(Vector3 position)
        {
            if (this.GetAxisAlignedBoundingBox().Contains(position))
            {
                if (nodeA.Contains(position) ||
                    nodeB.Contains(position))
                {
                    return(true);
                }
            }

            return(false);
        }
Esempio n. 2
0
        public bool Contains(Vector3 position)
        {
            if (this.GetAxisAlignedBoundingBox().Contains(position))
            {
                if (primary.Contains(position) ||
                    subtract.Contains(position))
                {
                    return(true);
                }
            }

            return(false);
        }