|
![](/i/fill.gif) |
Dan P <dan### [at] yahoo com> wrote:
> PS: Please don't judge my coding skills on that posting -- I wrote that as a
> quick one-off to get the job done and I thought it might illustrate the
> concept.
IMHO quick coding is not an excuse to break every possible good coding
principle in the market... ;)
> I know you should never use global variables and should comment
> code
Global variables were just one of the many problems in your code,
and comments aren't necessary if the code is otherwise very clear and
easy to read.
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
![](/i/fill.gif) |