POV-Ray : Newsgroups : povray.general : One Object in Union : Re: One Object in Union Server Time
4 Aug 2024 04:16:19 EDT (-0400)
  Re: One Object in Union  
From:
Date: 2 Oct 2003 11:00:36
Message: <3f7c3d94$1@news.povray.org>
The "Match Brace" command from the search menu will be irritated
by this code (although it is parsed as intended).  Appending
" // }" to the closing brace in the last line will fix this
because the Match Brace command doesn't ignore braces inside
comments.
A slightly more transparent solution (in more complex situations)
is to postfix every non-matching "{" with " // }" or "/* } */ and
prefix such "}" with "/* { */".

   Sputnik


Post a reply to this message

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