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