Closed TianyiShi2001 closed 4 years ago
let (s, c) = (deg.sin(), deg.cos)
let (s, c) = deg.sin_cos()
f32::to_radians()
Thanks!
Summary
let (s, c) = (deg.sin(), deg.cos)
tolet (s, c) = deg.sin_cos()
f32::to_radians()
provided by std instead of reinventing the wheel