Join Slack
Powered by
Hi, I'm wondering if theres a neater way of doing ...
# announcements
a
art_sturgeon
12/21/2015, 4:10 PM
Hi, I'm wondering if theres a neater way of doing something. All my vars are Floats, I'm using Math.cos which takes and returns a Double, so I do :
Math.cos(angle.toDouble()).toFloat())
which seems a bit icky...
2
Views
Open in Slack
Previous
Next