Merged zz85's Path / Shape / Extrude geometry. Cleaned up and refactored it a bit.
All three classes are now in separate files. Updated build script. Fixed runaway globals. Optimized loops ("in" should be used just for iterating over object properties, for arrays it's slow and also traversal order is not guaranteed). Cleaned whitespace. Bit more polished example. Fixed inverted side faces for fish shape.
Showing
因为 它太大了无法显示 source diff 。你可以改为 查看blob。
想要评论请 注册 或 登录