Closed zendurix closed 4 years ago
Just change
use std::f64::consts::PI; to
use core::f64::consts::PI;
Actually I tried to implement this, but it seems that core doesn't support math functions like sin(), sqrt() etc https://github.com/rust-lang/rfcs/issues/2505
core
Closed by #4.
Just change
use std::f64::consts::PI; to
use core::f64::consts::PI;