|
|
Anthony D. Baye wrote:
> so what vrotate(A,B) does is apply a pre-translation rotation to the object, so
> that when it is translated to A and then rotated by B, it is still in the same
> orientation it had at the origin.
I think you are still a bit confused about this issue. Despite its name,
vrotate will NOT rotate an object at all. It is simply a vector function
that returns three value (the coordinates of point A rotated around the
axis defined by B). What you do with these 3 values is entirely up to
you, you can interpret them as color, point, direction or lottery
numbers. If you write
translate vrotate(A,B)
you interpret the resulting 3 values as a vector for translation
of the object. So the only transformation here is a translation and
therefore the orientation of the object remains unchanged.
Post a reply to this message
|
|