Intersect() public method

public Intersect ( BoundingBox box ) : FrustrumIntersectionType
box BoundingBox
return FrustrumIntersectionType
示例#1
0
 public virtual bool Visible(BoundingBox box)
 {
     if (DisableFrustum)
     {
         return(true);
     }
     if (Frustum == null)
     {
         throw new Exception("Call SetLens() first");
     }
     return(Frustum.Intersect(box) > 0);
 }
示例#2
0
 public FrustrumIntersectionType Intersect(BoundingBox box)
 {
     return(Frustum.Intersect(box));
 }
示例#3
0
 public virtual bool Visible(BoundingBox box)
 {
     return(DisableFrustum || Frustum.Intersect(box) > 0);
 }