POV-Ray : Newsgroups : povray.pov4.discussion.general : Request: collapsible code blocks : Re: Request: collapsible code blocks Server Time
29 Apr 2024 09:52:35 EDT (-0400)
  Re: Request: collapsible code blocks  
From: Reactor
Date: 11 Jul 2008 02:15:00
Message: <web.4876f960a7b34a59840c749b0@news.povray.org>
> In POV SDL you can overlap or intersect blocks. For instance something like the
> following code would be valid:
>
> pigment
> {
>   #if (true)
>     color rgb x
>     }
>   #else
>     color rgb y
>     }
>   #end


What about collapsibility for conditional directives?  For instance, the if
could be collapsed and show below the pigment, but if the pigment were
collapsed, it would hide the conditional portion.  Maybe...



-Reactor


Post a reply to this message

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