POV-Ray : Newsgroups : povray.general : Collective Short Code Wisdom : Re: Collective Short Code Wisdom Server Time
31 Jul 2024 02:30:27 EDT (-0400)
  Re: Collective Short Code Wisdom  
From: Florian Brucker
Date: 30 Nov 2007 13:02:07
Message: <4750501f$1@news.povray.org>
Nicolas Alvarez wrote:
> If there is a number followed by another token (like a keyword), the 
> current POV-Ray parser allows you to skip the whitespace.
[snip]

In addition, you can seperate tokens by "preprocessor declarations":

	sphere{0,1}
	
or
	sphere{0 1}

becomes

	sphere{0#local r=.422;1}

Of course this makes only sense if you need the "#local r=.422" anyway :)


Regards,
Florian


Post a reply to this message

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