nickdesaulniers / prims

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

better code reuse #16

Open nickdesaulniers opened 10 years ago

nickdesaulniers commented 10 years ago

all the prims with triangular faces have similar index and normal code. We should put these in separate files in a src dir and have a Makefile build these separate and all together: /src/tetra... /src/cube.. /src/normals...

/build/tetra.min.js /build/cube.min.js /build/all.min.js