TheBlob

01-16-2002, 11:41 AM

Hi!

Well, thatīs exactly my question: How do you multiply a vector with a matrix. The result should be also a vector.

Maybe someone could post a little code please!

I was getting very confused writing it myself, because a tut on NeHe says that OpenGL handles marices 'column-first'?!

My intention is to multiply a vector by the Modelview and ProjecionMatrix.

Well, thatīs exactly my question: How do you multiply a vector with a matrix. The result should be also a vector.

Maybe someone could post a little code please!

I was getting very confused writing it myself, because a tut on NeHe says that OpenGL handles marices 'column-first'?!

My intention is to multiply a vector by the Modelview and ProjecionMatrix.