Why docs do not say that for rotation the angle should be in radians not in usual degrees? #2849
-
I spent a lot of time just to finally learn that I need to use Math.PI for setting angle of rotation. Docs of react native skia does not mention thsi at all (even when I learned that I need radians I was not able to find any mentions on the site) related question that shows that radians instead degrees is confusing for those who come from UI/React world - #2545 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
That's a good point, I've completely stopped to use degrees and forgot this was even something people would consider as the default unit. If you need some help dealing with radians, I've made a video on the topic at https://www.youtube.com/watch?v=-lF7sSTelOg |
Beta Was this translation helpful? Give feedback.
-
I've made this update #2850 |
Beta Was this translation helpful? Give feedback.
I've made this update #2850