POV-Ray : Newsgroups : povray.off-topic : More math fail : Re: More math fail Server Time
4 Sep 2024 13:19:26 EDT (-0400)
  Re: More math fail  
From: Neeum Zawan
Date: 21 Jan 2010 18:35:33
Message: <4b58e4c5$1@news.povray.org>
On 01/17/10 12:42, Orchid XP v8 wrote:
> All these years, I thought the correct way to compute the cross product
> of two vectors is
>
> x3 = y1 z2 - z1 y2
> y3 = x1 z2 - z1 x2
> z3 = x1 y2 - y1 x2

Oh dear. Use the determinant form - easiest to remember:

http://en.wikipedia.org/wiki/Cross_product#Matrix_notation

-- 
I'm addicted to placebos. I'd give them up, but it wouldn't make any 
difference. - Steven Wright


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.