From b2fdb9d62b25d23d6b2ed6fb623486b556d4116c Mon Sep 17 00:00:00 2001 From: Rahul Garg Date: Wed, 22 Dec 2021 20:43:55 +0530 Subject: [PATCH] Removed blank lines --- src/circle.rs | 1 - src/common.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/src/circle.rs b/src/circle.rs index 56f5f868..8fd5a64f 100644 --- a/src/circle.rs +++ b/src/circle.rs @@ -385,7 +385,6 @@ mod tests { #[inline] fn point_on_circle(center: Point, radius: f64, angle: f64) -> Point { - let (angle_sin, angle_cos) = angle.sin_cos(); center + Vec2 { diff --git a/src/common.rs b/src/common.rs index f4ed2a61..323b96a0 100644 --- a/src/common.rs +++ b/src/common.rs @@ -84,7 +84,6 @@ pub fn solve_cubic(c0: f64, c1: f64, c2: f64, c3: f64) -> ArrayVec { let rho = r.hypot(sq); let th = sq.atan2(r) * (1.0 / 3.0); let cbrho = rho.cbrt(); - let (th_sin, th_cos) = th.sin_cos(); let c = th_cos; let ss3 = th_sin * 3.0f64.sqrt();