|
![](/i/fill.gif) |
Craig Shuck wrote:
>
> The vector function vaxis_rotate(A,B,F) generates "-nan"
> for x, y, and z if B = <0,0,0>. Modifying x,y, or z by adding
> a small amount ( .0001 ) is a partial work-around.
>
> Attached is a simple reproduction.
>
> If this isn't a bug, but just a mathematical "thing", I'm sorry to have
> taken your time.
>
> Thanks!
The B is an axis around which to rotate the point eg. if B=<1,0,0> then
the point is rotated around the x axis. If it's <0,0,0>, then it does
not represent a proper axis, which way does the vector <0,0,0> point?
Cheers, PoD.
Post a reply to this message
|
![](/i/fill.gif) |