POV-Ray : Newsgroups : povray.advanced-users : Undefined variables : Undefined variables Server Time
25 Apr 2024 10:48:00 EDT (-0400)
  Undefined variables  
From: Mike Horvath
Date: 5 Feb 2018 17:46:55
Message: <5a78dedf$1@news.povray.org>
I am trying to create a macro:

   #macro BlurredReflection(InPigment, InFinish, InNormal)
     ...
   #end

But I don't want to *always* pass a value to the macro. Is there a way 
to pass a "null" or "nil" value to the macro, and then check for it 
using a conditional statement?

Thanks.

Mike


Post a reply to this message

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