We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The 2d space rotation angle extraction function is below. Add this to matrix utils.
function angleFromTransform(transform: Readonly<Transform>): number { try { const [a, b, c] = transform[0]; const [d, e, f] = transform[1]; var angle = Math.round(Math.atan2(b, a) * (180 / Math.PI)); return angle < 0 ? angle + 360 : angle; } catch (e) { console.error(e); return 0; } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The 2d space rotation angle extraction function is below. Add this to matrix utils.
The text was updated successfully, but these errors were encountered: