POV-Ray : Newsgroups : povray.news-submissions : getting coordinates : Re: getting coordinates Server Time
19 Apr 2024 17:49:46 EDT (-0400)
  Re: getting coordinates  
From: Tor Olav Kristensen
Date: 1 Jan 2010 14:00:01
Message: <web.4b3e459040720782fca6f0ee0@news.povray.org>
"Coucou" <dom### [at] neuffr> wrote:
......
> How to get x, y and z of C1 ?

You can write:

  vdot(C1, x)
  vdot(C1, y)
  vdot(C1, z)

- or shorter:

  C1.x
  C1.y
  C1.z

Also have a look here:

http://www.povray.org/documentation/view/3.6.1/229/#s02_02_01_04_03
"2.2.1.4.3 Operators"

(The last part of that section is about the dot operator.)

--
Tor Olav
http://subcube.com


Post a reply to this message

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