|
|
"Bald Eagle" <cre### [at] netscapenet> wrote:
> IIRC, it isn't what you think it might be, but half of that
I think maybe this series of equation rearrangements might shed some light on
the issue.
From:
http://news.povray.org/povray.advanced-users/thread/%3Cweb.580f8b048d6e3073b488d9aa0%40news.povray.org%3E/
// direction_length = 0.5 * right_length / tan(angle / 2)
// tan(angle / 2) * direction_length = 0.5 * right_length
// tan(angle / 2) = (0.5 * right_length) / direction_length
// (angle / 2) = atan2( (0.5 * right_length), direction_length)
// angle = 2* atan2( (0.5 * right_length), direction_length)
Post a reply to this message
|
|