POV-Ray : Newsgroups : povray.newusers : Two meanings of x? : Re: Two meanings of x? Server Time
30 Jul 2024 22:20:24 EDT (-0400)
  Re: Two meanings of x?  
From: Dave Matthews
Date: 5 Aug 2003 15:35:01
Message: <web.3f3005cc28b286237196f5900@news.povray.org>
ABX wrote:
>On Tue,  5 Aug 2003 14:36:51 EDT, "Dave Matthews" <mat### [at] dinecollegeedu>
>wrote:
>> 1.  If, inside a function, x, y and z are components of some vector, what's
>> the name of the vector?  (So I can do a myvector.x in the #if statement.)
>
>Instead of writing:
>
>  function{MyVector.x + 1}
>
>you can write something like:
>
>  #local MyX=MyVector.x;
>  function{MyX + 1}
>
>ABX
>
Thanks.  I think you just answered a different question that I had.  My
wording was confusing, but somehow Christopher James Huff saw through my
obfuscation to this particular problem.

Thanks again.

Dave Matthews


Post a reply to this message

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