POV-Ray : Newsgroups : povray.general : Q: dot operators : Re: dot operators Server Time
13 Aug 2024 03:14:44 EDT (-0400)
  Re: dot operators  
From: Nieminen Mika
Date: 18 Nov 1998 06:10:02
Message: <3652ab0a.0@news.povray.org>
Rich Lafferty <ric### [at] vax2concordiaca> wrote:
: Is a #define just macro substitution, like in C, or is it an
: actual assignment operator?

  It definitely is not a macro substitution, because this doesn't work:

#declare Test=
texture
{ pigment { rgb 1 }
  normal { bumps .2 }
}

sphere
{ 0,1
  Test
}

  But you have to type this instead:

sphere
{ 0,1
  texture { Test }
}

-- 
                                                           - Warp. -


Post a reply to this message

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