POV-Ray : Newsgroups : povray.general : Macro Problem : Re: Macro Problem Server Time
2 May 2024 18:58:53 EDT (-0400)
  Re: Macro Problem  
From: Bald Eagle
Date: 23 Apr 2018 12:55:00
Message: <web.5ade0ee7ff561b5ac437ac910@news.povray.org>
So, essentially what you're saying is, when writing a macro to construct
an individual texture, object, pigment or what-have-you, it is very good
practice to first assign the thing to a local variable (which I tend to
call `Result`), and then have the macro "emit" just that variable itself?


Post a reply to this message

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