コード例 #1
0
ファイル: BoundingCircle.cs プロジェクト: RavingRabbit/Labs
 public override bool Intersects(BoundingShape other)
 {
     if (other is BoundingRectangle)
         return Intersects(this, other as BoundingRectangle);
     if (other is BoundingCircle)
         return (other as BoundingCircle).BoundingSphere.Intersects(BoundingSphere);
     throw new NotSupportedException();
 }
コード例 #2
0
ファイル: BoundingShape.cs プロジェクト: RavingRabbit/Labs
 public abstract bool Intersects(BoundingShape other);