POV-Ray : Newsgroups : povray.beta-test : bug with declaration of array : bug with declaration of array Server Time
30 Jul 2024 14:29:23 EDT (-0400)
  bug with declaration of array  
From:
Date: 26 Oct 2001 09:35:22
Message: <scpitt851apfq5r6qtsoi1vpupt77g829s@4ax.com>
platform: POV35b6 on PII233 128 MB with NT4 SP6

second branch of my previous thread is not connected with first one.
Now I found below line/scene is properly parsed:

#local A=array;

but documentation says it needs [INT] after array keyword

ABX
--
#declare _=function(a,b,x){((a^2)+(b^2))^.5-x}#default {pigment{color rgb 1}}
union{plane{y,-3}plane{-x,-3}finish{reflection 1 ambient 0}}isosurface{ //ABX
function{_(x-2,y,1)|_((x+y)*.7,z,.1)|_((x+y+2)*.7,z,.1)|_(x/2+y*.8+1.5,z,.1)}
contained_by{box{<0,-3,-.1>,<3,0,.1>}}translate z*15finish{ambient 1}}//POV35


Post a reply to this message

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