コード例 #1
0
 public FrustrumIntersectionType Intersect(BoundingBox box)
 {
     return(Frustum.Intersect(box));
 }
コード例 #2
0
 public override void UpdateViewMatrix()
 {
     SetView(Matrix.LookAtRH(Position, Target, Up));
     Frustum = Frustum.FromViewProj(ViewProj);
 }
コード例 #3
0
 public virtual bool Visible(BoundingBox box)
 {
     return(DisableFrustum || Frustum.Intersect(box) > 0);
 }