Skip to content

Expected value of rotate transormation? #2545

Answered by Glazzes
AdamGerthel asked this question in Q&A

You must be logged in to vote

The rotation transformation in Skia expects values measured in radians, for instance 360 degrees is equivalent 2 * Math.PI , if you want to convert degrees to radians is as easy as const radians = degrees * (Math.PI / 180)

Replies: 1 comment 1 reply

You must be logged in to vote
1 reply
@AdamGerthel

Answer selected by AdamGerthel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants