|
|
> No need to make AB unital for the cross product method (saves a square
> root and divide).
Actually, thinking about it, you wouldn't need to for the dot product
either. I should have seen that...
>> X = (1,0)
>> X . V - k = (1,0) . (-1,0) - 0 = -1
>
> X cross AB = (1,0) x (0,1) = (1)(1) - (0)(0) = 1
> (saves one subtraction compared to your method)
Oh, I see. You're only computing the Z ordinate of the cross product?
Well, I guess that could be quicker, yes...
Post a reply to this message
|
|