POV-Ray : Newsgroups : povray.newusers : Declaration type : Re: Declaration type Server Time
4 Nov 2024 13:35:00 EST (-0500)
  Re: Declaration type  
From: Kaveh
Date: 17 Nov 2002 04:47:28
Message: <1flst3j.1wg16mg1qgkbuoN%kaveh@delete_this.focalimage.com>
Mark Wagner <mar### [at] gtenet> wrote:

[...]

> a.x is a vector expression, so "a" gets promoted to the 3 component
> vector <1,1,1>.  It's still a float.  See section 6.1.4.4 "Operator
> promotion" of the manual for more information.

Thank you Mark. It's the 'temporary promotion' that explains it. I will
look at the manual.

-- 
Kaveh


Post a reply to this message

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