gl-catmull-clark
gl-catmull-clark copied to clipboard
convertToTriangles documentation is confusing
For what it's worth, I found it very confusing that convertToTriangles was true by default. I spent a good half an hour debugging my code before I realized that. I think a less confusing function signature would be function catmullClark(positions, cells, numSubdivisions[, keepAsQuads])
. I assumed incorrectly that undefined would be falsey.
Yeah, sorry about that. I will try to look at this in the weekend.
No worries, it worked like a charm once I figured it out! Thanks for publishing this module, it's really handy: http://sessions.gregtatum.com/013/