/// <summary>
 /// Adds a CollidablePoint to this bucket
 /// </summary>
 /// <param name="point"></param>
 public void AddPoint(CollidablePoint point)
 {
     _points.Add(point);
 }
예제 #2
0
        /// <summary>
        ///     Removes an AABB point from a bucket
        /// </summary>
        /// <param name="point"></param>
        private void RemovePoint(CollidablePoint point)
        {
            var b = GetBucket(point.Coordinates);

            b.RemovePoint(point);
        }