POV-Ray : Newsgroups : povray.bugreports : Mis-matched '#end' invoking macro with a while loop : Mis-matched '#end' invoking macro with a while loop Server Time
15 May 2024 17:42:36 EDT (-0400)
  Mis-matched '#end' invoking macro with a while loop  
From: MadKairon
Date: 7 Jul 2009 12:15:01
Message: <web.4a5373c09263790277532a5a0@news.povray.org>
#include "colors.inc"
  background { color rgb <.5, .4, .3> }
  #declare Rnd_1 = seed (1153);



  camera {
    location <0, 3, -23>
    look_at  <1, 2,  0>
  }

light_source {<100,200,-100> colour rgb 1}


#macro Make_Frame()
             #declare n = 1;
             while (n = 1 )
             box { <0,0,0>,<1,1,1>
             pigment{rgb .5}
             finish { phong 1 }
             scale <rand(Rnd_1)/5,rand(Rnd_1)/2,rand(Rnd_1)*1.5>
             translate <rand(Rnd_1)/2,rand(Rnd_1)/2,rand(Rnd_1)*4>
             }
             #declare n=n+1;
             #end
#end

object { Make_Frame() translate <.5,.5,.5> }

results en mis-matched #end


Post a reply to this message

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