|
|
In article <web.3f18821015c57b22a6ac136d0@news.povray.org>,
"BorisW37" <Bor### [at] yahoocom> wrote:
> how do i find individual values of x,y and z
You're making it overly difficult. POV has features for making this kind
of math easier, the best ways to do it in POV have been explained in
other replies. You might want to look through math.inc, it has some
macros and functions that themselves may be useful to you as well as
showing you what you can do. To answer your question, you can access the
components with the dot syntax: MyVector.x, MyVector.y, etc. There are
more dot operators for various situations, this feature is fully
described in the manual, along with the other built-in vector math
functions.
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/
Post a reply to this message
|
|