-
Notifications
You must be signed in to change notification settings - Fork 440
New issue
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
Fix angle, scale and origin on FlxStrip #2973
base: dev
Are you sure you want to change the base?
Conversation
if (angle != 0) | ||
{ | ||
_cos = FlxMath.fastCos(angle * FlxAngle.TO_RAD); | ||
_sin = FlxMath.fastSin(angle * FlxAngle.TO_RAD); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would you be willing to compare this with using Math.sin
and cos to see if the lack of precision actually a noticeable difference, be sure to try angles > 360, too please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed the rest, but I'd still like you to test the precision of FastSin and cos
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This breaks Flash targets, also requested other changes via comments
Also please provide a small, complete example that showcases the new features of this change
would these changes conflict with this? |
No description provided.