POV-Ray : Newsgroups : povray.general : FEATURE REQUEST: MS Notepad text editing keystroke definitions : Re: FEATURE REQUEST: MS Notepad text editing keystroke definitions Server Time
12 Aug 2024 11:14:24 EDT (-0400)
  Re: FEATURE REQUEST: MS Notepad text editing keystroke definitions  
From: Ken
Date: 29 Mar 1999 18:26:30
Message: <36FFEEFF.B85573B2@pacbell.net>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.