|
|
Suso Banderas <sus### [at] susoorg> wrote:
> Oh I get it now. POV-Ray really functions reverse of what I expected.
> Being a programmer, I was expecting it to keep track of what the box's
> previous rotational angle was on the last iteration of the while loop.
It works pretty much like a programming language would.
When you make a "#declare Object = box { ... }", that's a bit like
saying "struct Object { ... }" or "class Object { ... }" in C/C++.
When you make an instantiation of the box with "object { Object }", that's
like making an instantiation of the struct/class in C/C++, like
"Object obj;". If you now modify *this* instantiation it naturally doesn't
modify any other instantiation you may have of the same class.
--
#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
|
|