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

Missing Triangles #1142

Merged
merged 3 commits into from
Sep 12, 2013
Merged

Missing Triangles #1142

merged 3 commits into from
Sep 12, 2013

Conversation

bagnell
Copy link
Contributor

@bagnell bagnell commented Sep 11, 2013

This fixes #1093. Makes Cartesian*.fromArray an alias of Cartesian*.unpack.

@shunter found that this line was the problem: result.x = values[offset + 0];.
To fix the problem, change it to: result.x = values[offset];.
This was causing NaNs to show up in typed arrays.

@pjcozzi
Copy link
Contributor

pjcozzi commented Sep 12, 2013

I updated CHANGES.md. Please remember it next time.

I also made a few similar changes elsewhere.

Less is more so I dig this, but I don't get why it works.

This fixes the cylinder, but not the ellipse. I'll make a separate issue for that.

pjcozzi added a commit that referenced this pull request Sep 12, 2013
@pjcozzi pjcozzi merged commit 8e85029 into master Sep 12, 2013
@pjcozzi pjcozzi deleted the missingTriangles branch September 12, 2013 10:11
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.

Cylinder does not close
2 participants