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
intro.js var M_PI = Math.PI; var M_PI_2 = M_PI / 2; var M_2_PI = 2 * M_PI; ... var SCREEN_ROTATION_0 = 0, SCREEN_ROTATION_90 = M_PI_2, SCREEN_ROTATION_180 = M_PI, SCREEN_ROTATION_270 = M_2_PI / 3, SCREEN_ROTATION_MINUS_90 = - M_PI_2;
var M_PI = Math.PI;
var M_PI_2 = M_PI / 2;
var M_2_PI = 2 * M_PI;
var SCREEN_ROTATION_0 = 0,
SCREEN_ROTATION_90 = M_PI_2,
SCREEN_ROTATION_180 = M_PI,
SCREEN_ROTATION_270 = M_2_PI / 3,
SCREEN_ROTATION_MINUS_90 = - M_PI_2;
SCREEN_ROTATION_270 = M_2_PI / 3, // Error -> M_2_PI - M_PI_2
360 / 3 = 120 (not 270)
The text was updated successfully, but these errors were encountered:
"M_2_PI / 3" 720 / 3 = 240 (not 120 or 270) ;)
Sorry, something went wrong.
Yes and it is error. Solution is M_2_PI - M_PI_2
360 / 3 = 120 (not 270) - Sorry, my bad, you are right
No branches or pull requests
intro.js
var M_PI = Math.PI;
var M_PI_2 = M_PI / 2;
var M_2_PI = 2 * M_PI;
...
var SCREEN_ROTATION_0 = 0,
SCREEN_ROTATION_90 = M_PI_2,
SCREEN_ROTATION_180 = M_PI,
SCREEN_ROTATION_270 = M_2_PI / 3,
SCREEN_ROTATION_MINUS_90 = - M_PI_2;
SCREEN_ROTATION_270 = M_2_PI / 3, // Error -> M_2_PI - M_PI_2
360 / 3 = 120 (not 270)
The text was updated successfully, but these errors were encountered: