POV-Ray : Newsgroups : povray.general : macro - without () : Re: macro - without () Server Time
5 Aug 2024 16:09:55 EDT (-0400)
  Re: macro - without ()  
From: Simon Adameit
Date: 2 Oct 2002 10:46:25
Message: <3d9b06c1$1@news.povray.org>
"Rafal 'Raf256' Maj" wrote:
>   [1.0 color rgbft colBlood]
>

You declare the color this way:
#declare Col=rgb<1,2,3>;

and then use it this way:
 [1.0 Col]

Using declared things is even shorter than calling the macro, so the only
thing that could but not always is longer is the definition. I dont
understamd why you use "color rgbft". To make things look how you want them
to?


Post a reply to this message

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