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

Add geometry #6

Merged
merged 11 commits into from
Feb 23, 2017
Merged

Add geometry #6

merged 11 commits into from
Feb 23, 2017

Conversation

xxfast
Copy link
Owner

@xxfast xxfast commented Feb 23, 2017

added most of the shapes rendering, all of which is based on a single parent class Polygon

the scaling is not anchored from the origin however
added bounds() and container() functionality and fixed camera relative
positions on the camera
most of the functionalities are in the parent, so this was quite easy
also fixed the Rectangle.js a little
*bug* has to fix the container too
now the camera scales correctly when rendering
@xxfast xxfast merged commit d098c7f into master Feb 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant