POV-Ray : Newsgroups : povray.general : vrotate implementation? : Re: vrotate implementation? Server Time
14 Aug 2024 01:14:43 EDT (-0400)
  Re: vrotate implementation?  
From: Mike Hough
Date: 9 May 1998 05:51:58
Message: <3554273E.54AF982B@aol.com>
vaxis_rotate is not much different, and I think you get it.  It just means take
the first point and rotate it about the second point by the float amount.

vaxis_rotate (<1, 1, 1>, <2, 2, 2>, 3)

<1, 1, 1> is rotated about the point <2, 2, 2> by <3, 3, 3> degrees.

I was hoping to see it expanded to take a vector for the amount in 3.1, since
the amount as a float is equal in all directions, but I was sad to find it
'aint so.  Oh well.

-Mike

Twyst wrote:

> vaxis_rotate, on the other hand, lets you define an arbitrary axis , and
> rotate the point around that.
>
> vaxis_rotate is a little bit harder to understand.. (heh, I'm not sure if I
> understand it!)


Post a reply to this message

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