POV-Ray : Newsgroups : povray.general : Q: vector promotion : Re: Q: vector promotion Server Time
13 Aug 2024 03:23:19 EDT (-0400)
  Re: Q: vector promotion  
From: Ronald L  Parker
Date: 12 Nov 1998 20:31:20
Message: <364d8bf7.163825061@news.povray.org>
On Thu, 12 Nov 1998 22:26:21 +0200, Margus Ramst <mar### [at] peakeduee>
wrote:

>Why is the float not promoted to a vector? Is it because POV can't tell the type
>of a macro param?

Right.  You can force the promotion by multiplying it by <1,1,1> or
adding it to <0,0,0>


Post a reply to this message

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