POV-Ray : Newsgroups : povray.newusers : transforming vectors : Re: transforming vectors Server Time
5 Nov 2024 11:19:24 EST (-0500)
  Re: transforming vectors  
From: Jon A  Cruz
Date: 20 Oct 1999 03:12:34
Message: <380D6B9F.E15489ED@geocities.com>
"Jon A. Cruz" wrote:

> Daniel Pirch wrote:
>
> > Is it possible to apply a transformation to a single vector? (for instance
> > if my vector is <1,0,0> and my transformation is transformation is
> > transform{translate <2,0,0> rotate 90*z}, I want to get <0,3,0>)
>
> Yes.

Now, to start guessing what you need, instead of just what you asked.  :-)

RT_M  ( http://wombat.doc.ic.ac.uk/foldoc/foldoc.cgi?query=RTM )


Check the docs (be sure to check the language help, not the Windows help) for
vector functions.


--
"My new computer's got the clocks, it rocks
But it was obsolete before I opened the box" - W.A.Y.


Post a reply to this message

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