summaryrefslogtreecommitdiffstats
path: root/core/src/angle.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/angle.rs')
-rw-r--r--core/src/angle.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/angle.rs b/core/src/angle.rs
index c8f3f013..102b69cf 100644
--- a/core/src/angle.rs
+++ b/core/src/angle.rs
@@ -55,7 +55,7 @@ impl num_traits::FromPrimitive for Radians {
}
impl Radians {
- /// Calculates the line in which the [`Angle`] intercepts the `bounds`.
+ /// Calculates the line in which the angle intercepts the `bounds`.
pub fn to_distance(&self, bounds: &Rectangle) -> (Point, Point) {
let angle = self.0 - FRAC_PI_2;
let r = Vector::new(f32::cos(angle), f32::sin(angle));