nickdesaulniers / prims

3D Geometry Primitives for WebGL
Other
42 stars 5 forks source link

parameters #15

Open nickdesaulniers opened 10 years ago

nickdesaulniers commented 10 years ago

some values are hard coded. The constructor should allow the param to be passed in, and clamped or set to a default value. For example: cylinder -> num subdivisions gives you a prism, and sponge