fn polar(circle: &Circle, angle: f32, radius_delta: i32) -> Point {
    let radius = circle.diameter as f32 / 2.0 + radius_delta as f32;

    circle.center()
        + Point::new(
            (angle.sin() * radius) as i32,
            -(angle.cos() * radius) as i32,
        )
}
/// Converts a polar coordinate (angle/distance) into an (X, Y) coordinate centered around the
/// center of the circle.
///
/// The angle is relative to the 12 o'clock position and the radius is relative to the edge of the
/// clock face.
Converts a polar coordinate (angle/distance) into an (X, Y) coordinate centered around the
center of the circle.

The angle is relative to the 12 o'clock position and the radius is relative to the edge of the
clock face.
Converts a polar coordinate ( angle / distance ) into an ( X Y ) coordinate centered around the center of the circle . The angle is relative to the 12 o ' clock position and the radius is relative to the edge of the clock face .
fn polar(circle: &Circle, angle: f32, radius_delta: i32) -> Point {
    let radius = circle.diameter as f32 / 2.0 + radius_delta as f32;
    circle.center()
        + Point::new(
            (angle.sin() * radius) as i32,
            -(angle.cos() * radius) as i32,
        )
}
fn polar ( circle : & Circle , angle : f32 , radius_delta : i32 ) -> Point { let radius = circle . diameter as f32 / 2.0 + radius_delta as f32 ; circle . center ( ) + Point :: new ( ( angle . sin ( ) * radius ) as i32 , - ( angle . cos ( ) * radius ) as i32 , ) }
Converts a polar coordinate (angle/distance) into an (X, Y) coordinate centered around the
center of the circle.
Converts a polar coordinate ( angle / distance ) into an ( X Y ) coordinate centered around the center of the circle .
circle
&Circle
angle
f32
radius_delta
i32