Intersect() public méthode

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