POV-Ray : Newsgroups : povray.general : #break for loops and macros : Re: #break for loops and macros Server Time
2 Nov 2024 07:24:58 EDT (-0400)
  Re: #break for loops and macros  
From: Warp
Date: 18 Apr 2004 14:21:50
Message: <4082c73e@news.povray.org>
Florian Brucker <tor### [at] torfboldcom> wrote:
> Any chance that one will be able to exit loops and macros via #break (or 
> some other command) in an upcoming POV-Ray version?

  Currently you can usually get the same effect using #ifs. The #breaks may
sometimes shorten the code a bit, but it's not such a big burder to use
the #ifs.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

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