]> git.scottworley.com Git - nt3d/commit - medusa.html
Use a params object rather than loose arguments
authorScott Worley <scottworley@scottworley.com>
Wed, 21 May 2014 07:59:14 +0000 (00:59 -0700)
committerScott Worley <scottworley@scottworley.com>
Wed, 21 May 2014 07:59:14 +0000 (00:59 -0700)
commit3bafa9bd82dbcd125a75e796f8b78ab63a560422
treeaead1b09dfe36f5494ade34a76ebf4c47de8964a
parent1df99269ed4f25d4e70389ba70337ca62a545a5c
Use a params object rather than loose arguments

Otherwise, making subroutines is tedious -- each function has to accept
a bunch of loose args only to pass them along.  Adding a parameter that
in only used in a subroutine required changing all the callers all the
way up the stack.
13 files changed:
box_by_extrude.html
box_by_faces.html
box_by_quadstrip.html
box_by_rotation.html
box_by_trianglefan.html
cone_primitive.html
medusa.html
nt3d.js
rmm.html
serrated.html
sphere_primitive.html
torus_by_extrude.html
wrap_sphere.html