|
|
Invisible <voi### [at] devnull> wrote:
> >> ...except that then I'd have to somehow remember the correct way to do
> >> matrix multiplication. (Something which I never get right with more than
> >> 50% probability...)
> >
> > Then you just end up using left-handed coordinates for your cross product
> > rather than right-handed. In other words, it only affects the sign of the
> > result.
> Oh, does it?
> With general matrix multiplication, getting it wrong tends to really
> mess things up. But in the specific case of a cross product, maybe it
> doesn't...
If you try to calculate A*B of two square matrices in the wrong order
(ie. A columns times B rows instead of the other way around), what you end
up doing is calculating B*A. With a cross-product it means that you are
using the opposite winding, thus reversing the resulting vector. The end
result is still correct, just pointing to the opposite direction of what
you wanted.
--
- Warp
Post a reply to this message
|
|