Intersect() public method

public Intersect ( BoundingBox box ) : FrustrumIntersectionType
box BoundingBox
return FrustrumIntersectionType
Esempio n. 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);
 }
Esempio n. 2
0
 public FrustrumIntersectionType Intersect(BoundingBox box)
 {
     return(Frustum.Intersect(box));
 }
Esempio n. 3
0
 public virtual bool Visible(BoundingBox box)
 {
     return(DisableFrustum || Frustum.Intersect(box) > 0);
 }