Skip to content
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

Star Object optimization #1

Open
Jorgee1 opened this issue Jun 6, 2017 · 0 comments
Open

Star Object optimization #1

Jorgee1 opened this issue Jun 6, 2017 · 0 comments

Comments

@Jorgee1
Copy link
Owner

Jorgee1 commented Jun 6, 2017

The star class in JS/main.js can be optimized by saving the angle when the object is created and reseted, rather than calulating it in every frame.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant