Nez.Portable/Physics/Shapes/Circle.cs
/// <summary>
/// internal hack used by Particles so they can reuse a Circle for all collision checks
/// </summary>
/// <param name="radius">Radius.</param>
/// <param name="position">Position.</param>
internal hack used by Particles so they can reuse a Circle for all collision checks
internal hack used by Particles so they can reuse a Circle for all collision checks
internal void recalculateBounds(float radius, Vector2 position)
        {
            _originalRadius = radius;
            this.radius = radius;
            this.position = position;
            bounds = new RectangleF(position.X - radius, position.Y - radius, radius * 2f, radius * 2f);
        }
internal void recalculateBounds ( float radius , Vector2 position ) { _originalRadius = radius ; this . radius = radius ; this . position = position ; bounds = new RectangleF ( position . X - radius , position . Y - radius , radius * 2f , radius * 2f ) ; }
internal hack used by Particles so they can reuse a Circle for all collision checks
internal hack used by Particles so they can reuse a Circle for all collision checks
radius
float
None
position
Vector2
None