|
|
Nieminen Mika wrote:
> Can you tell me without editing this code what does it do?
> #macro Random(Seed,Mid,Var) #local r=rand(Seed); #local lo=Mid-Var/2; #local
> hi=lo+Var; #if(lo<0) #local lo=0; #end #if(hi>MaxVal) #local hi=MaxVal; #end
<snip>
> CreatePlasmaArray(XSize,YSize,MaxVal,Seed) #local IndY=0; #while(IndY<YSize)
> #local IndX=0; #while(IndX<XSize) PlasmaObject(IndX/(XSize-1),IndY/(YSize-1),
> PCoord[IndX][IndY]/MaxVal) #local IndX=IndX+1; #end #local IndY=IndY+1; #end
> #end
I couldn't tell you what that code did even if it were indented so
it's a lost point.
--
Ken Tyler
mailto://tylereng@pacbell.net
Post a reply to this message
|
|