3x3 diagonalize

Please don't post Bullet support questions here, use the above forums instead.
melax
Posts: 42
Joined: Mon Apr 24, 2006 4:55 pm

3x3 diagonalize

Post by melax »

I had some people asking me for the code, so I decided to do a little writeup and post the routine:

http://www.melax.com/diag/

I'm sure most people already have some sort of method to do this already. The objective of this particular code was to be compact and simple for somebody to grab and incorporate into their own 3d game math lib.

The difference with this code is that it focuses only on 3x3 symmetric (i.e. ortho diagonalizable) and produces a quaternion directly.

If anybody finds it interesting - great, useful - even better.
If I had more time to waste, i'd see if I could find a closed form formula instead of an iterative solution. :-)

comments/flames welcome.
omicron
Posts: 8
Joined: Tue Jan 17, 2006 6:27 pm

Post by omicron »

You have some interesting stuff on your website. Thanks for sharing :wink: