POV-Ray : Newsgroups : povray.general : default values : Re: default values Server Time
4 Aug 2024 14:24:30 EDT (-0400)
  Re: default values  
From: Christopher James Huff
Date: 7 Apr 2003 19:19:09
Message: <cjameshuff-554AC1.19183607042003@netplex.aussie.org>
In article <3e90dc87@news.povray.org>,
 "Alan Walkington" <alan[REMOVE]@walkington.net> wrote:

> In a macro, is it possible to define default values for parameters, so they
> can be skipped during instantiation?

No. You have to make separate versions of the macro (with different 
names...no name overloading in POV), or use some flag value to tell the 
macro to use a default value.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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