Intersect() 공개 메소드

public Intersect ( BoundingBox box ) : FrustrumIntersectionType
box BoundingBox
리턴 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);
 }