|
![](/i/fill.gif) |
In article <3d35d481@news.povray.org>, Warp <war### [at] tag povray org>
wrote:
> I was thinking more in the lines of "rotate around the axis which goes
> through these two points". However, it's rather easy to modify that
> expression to do that.
Ax1 + vaxis_rotate(Pt - Ax1, Ax2 - Ax1, Amt)
I prefer a point and direction, because it more clearly specifies the
direction of the axis. With two points, the direction depends on the
order of the end point vectors, which is workable but possibly more
confusing. Also, I was making it similar as possible to the
vaxis_rotate() function.
--
Christopher James Huff <chr### [at] mac com>
POV-Ray TAG e-mail: chr### [at] tag povray org
TAG web site: http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |