示例#1
0
 protected override void Init()
 {
     int r = 16;
     BoundingCircle bC = new BoundingCircle(r, new Vector( (BaseWidth / 2) - r, (BaseHeight / 2) - r ));
     this.BoundingContainer.AddBoundingBox(bC);
     bC.AssignToContainer(this.BoundingContainer);
     this.pureIntersection = true;
 }
示例#2
0
        protected override void Init()
        {
            this.pureIntersection = true;

            BoundingCircle bC = new BoundingCircle(15, new Vector(0, 0));
            this.BoundingContainer.AddBoundingBox(bC);
            bC.AssignToContainer(this.BoundingContainer);
            this.pureIntersection = true;
        }