|
 |
In article <3d335e4a@news.povray.org>,
"Tim McMurdo" <tmc### [at] prodigy net> wrote:
> Then I need to determine the angle on this axis that would point from
> <X4,Y4,Z4> to <-15000,75,2435> using:
>
> #declare Angle = VAngleD(<X4,Y4,Z4>, <-15000,75,2435>)
The VAngle() macros give the postive angle between the two vectors, not
the rotation from one two the other. You may need to reverse the sign of
Angle, or use the VRotation() macros.
> I tried
>
> VRotation(<X4,Y4,Z4>, <-15000,75,2435>, Axis)
>
> but still I don't get the expected results
VRotation() gives results in radians, VRotationD() in degrees.
--
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
|
 |