diff options
Diffstat (limited to 'racer-tracer/src/util.rs')
| -rw-r--r-- | racer-tracer/src/util.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/racer-tracer/src/util.rs b/racer-tracer/src/util.rs index dc39e1c..2f04567 100644 --- a/racer-tracer/src/util.rs +++ b/racer-tracer/src/util.rs @@ -1,9 +1,9 @@ use rand::Rng; -/* + // For later use -fn degrees_to_radians(degrees: f64) -> f64 { +pub fn degrees_to_radians(degrees: f64) -> f64 { degrees * std::f64::consts::PI / 180.0 -}*/ +} pub fn random_double() -> f64 { let mut rng = rand::thread_rng(); |
