Thread: Matrix question

  1. #1
    Banned
    Join Date
    Jan 2003
    Posts
    1,708

    Matrix question

    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];

  2. #2
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    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.

  3. #3
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    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

  4. #4
    Registered User Xei's Avatar
    Join Date
    May 2002
    Posts
    719
    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
    lol!

  5. #5
    I hate Sinus infections
    Join Date
    Nov 2002
    Posts
    181
    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.

  6. #6
    Registered User Xei's Avatar
    Join Date
    May 2002
    Posts
    719
    Question: Do raisins have the same amount of nutrients as grapes? I was just wondering that while eating a box of Glosettes.

  7. #7
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    Question: Do raisins have the same amount of nutrients as grapes? I was just wondering that while eating a box of Glosettes.
    GLOSETTES ........ ME OFF

  8. #8
    Registered User
    Join Date
    Feb 2002
    Posts
    465
    *sound of cat screeching in background*
    I came up with a cool phrase to put down here, but i forgot it...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. *operator overloading: scalar matrix multiplication
    By gemini_shooter in forum C++ Programming
    Replies: 4
    Last Post: 06-08-2009, 01:14 PM
  2. Music Programming - Serial Matrix Display (Help needed)
    By CrazyHorse in forum C Programming
    Replies: 1
    Last Post: 11-13-2007, 04:28 PM
  3. Music Programming - Serial Matrix Display
    By CrazyHorse in forum C Programming
    Replies: 1
    Last Post: 11-12-2007, 04:16 PM
  4. Question about view vector, position, and matrix speed
    By Silvercord in forum Game Programming
    Replies: 1
    Last Post: 02-03-2003, 12:37 PM