POV-Ray : Newsgroups : povray.general : Your preferences: an error message or 0.1*x+0.1==<0.2,0.1,0.1> : Re: Your preferences: an error message or 0.1*x+0.1==<0.2,0.1,0.1> Server Time
8 Aug 2024 14:17:18 EDT (-0400)
  Re: Your preferences: an error message or 0.1*x+0.1==<0.2,0.1,0.1>  
From: Ron Parker
Date: 8 Dec 2000 10:25:55
Message: <slrn931vc4.shn.ron.parker@fwi.com>
On Fri, 08 Dec 2000 09:59:44 -0500, Greg M. Johnson wrote:
>I had some code where I meant to say 0.1*x+0.1*z  but typed instead
>0.1*z+0.1 .  It took me the longest time to figure this out.  I would
>have hoped that povray would have given me an error message if I were to
>mix variable types in an expression.

That would sorta defeat the whole purpose of promoting scalars to vectors.

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
My opinions.  Mine.  Not anyone else's.


Post a reply to this message

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