POV-Ray : Newsgroups : povray.advanced-users : Help! : Re: Help! Server Time
30 Jul 2024 08:26:27 EDT (-0400)
  Re: Help!  
From: Josh English
Date: 7 Dec 1999 15:51:47
Message: <384D7363.713F79FC@spiritone.com>
#declare Vector = <somenumber , someothernumber , yetanothernumber>;

calling Vector.y will extract the y component. You can extract Vector.x and
Vector.z the same ways

Mick Hazelgrove wrote:

> I have an array of position vectors.
> How can I extract the y component of the vector, as I read them one at a
> time in a while loop, to test it's height.
>
> Thanks in advance
>
> Mick

--

Josh English
eng### [at] spiritonecom
ICQ: 1946299
"Stress is when you wake up screaming and realize you haven't fallen asleep
yet."


Post a reply to this message

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