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

Issue #906 - mixing vertex() and curveVertex() #1185

Closed
wants to merge 3 commits into from
Closed

Issue #906 - mixing vertex() and curveVertex() #1185

wants to merge 3 commits into from

Conversation

arihantparsoya
Copy link
Contributor

I want to resolve #906. The current code is written such that if the variable isCurve is true, the endShape function (in Renderer2D.js) will not distinguish between the vertex and curveVertex since both the coordinates of vertex and curveVertex are stored in the same array i.e. vertices. So, I created another array(curveVertices) which stores the index of curveVertices in 'vertices' array and changed the code in Renderer2D.js such that it accounts for all test cases. Please give feedback :)

@toolness toolness changed the title Issue #906 Issue #906 - mixing vertex() and curveVertex() Apr 1, 2016
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.

mixing vertex() and curveVertex()
1 participant