Skip to content

Expected value of rotate transormation? #2545

Answered by Glazzes
AdamGerthel asked this question in Q&A
Discussion options

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

Comment options

You must be logged in to vote
1 reply
@AdamGerthel
Comment options

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