Is im the transpose of matrix m? I'm pretty sure it is, but, well, I'd like someone who knows for sure to confirm for me.
im[0][1] = m[1][0];
im[0][2] = m[2][0];
im[1][0] = m[0][1];
im[1][2] = m[2][1];
im[2][0] = m[0][2];
im[2][1] = m[1][2];
This is a discussion on Matrix question within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Is im the transpose of matrix m? I'm pretty sure it is, but, well, I'd like someone who knows for ...
Is im the transpose of matrix m? I'm pretty sure it is, but, well, I'd like someone who knows for sure to confirm for me.
im[0][1] = m[1][0];
im[0][2] = m[2][0];
im[1][0] = m[0][1];
im[1][2] = m[2][1];
im[2][0] = m[0][2];
im[2][1] = m[1][2];
Yes
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
omg I am reading someone elses code and they are using column major matrices in C...that is retarded. OpenGL uses column major matrices, but all of these calculations I am reading are all done in software, so I don't see why they would use a COLUMN MAJOR FREAKING MATRIX THIS IS ........ING ME OFF IM GOING TO KILL MY CAT
lol!Originally posted by Silvercord
omg I am reading someone elses code and they are using column major matrices in C...that is retarded. OpenGL uses column major matrices, but all of these calculations I am reading are all done in software, so I don't see why they would use a COLUMN MAJOR FREAKING MATRIX THIS IS ........ING ME OFF IM GOING TO KILL MY CAT
shouldn't u be killing dolphins?
The only good thing about freezing beyond feeling in the final Nordic ski race was that I couldn't feel that tumble I did going about 30 mph, maybe more.
On the other hand, not feeling any part of my body for 30 minutes was scary, especialy for my manhood.
Windoze: XP, hate it, though its more stable than my old 98SE
Dream: linux, mandrake, then slackware.
Question: Do raisins have the same amount of nutrients as grapes? I was just wondering that while eating a box of Glosettes.
GLOSETTES ........ ME OFFQuestion: Do raisins have the same amount of nutrients as grapes? I was just wondering that while eating a box of Glosettes.
*sound of cat screeching in background*
I came up with a cool phrase to put down here, but i forgot it...