Working on a "camera"

Sage
Posts: 1,403
Joined: 2005.07
Post: #16
Quote:Well, in truth, if I can get by with vectors and matrices then I won't bother with quaternions right away. A fourth dimension will just confuse me.
If 4 dimensions is confusing them 16 dimensional matrices should be hell for you.

Quote:Essentially, one could (with reasonable ease) right those three commands for themselves.
Yes you could write them yourself,

glRotate, glScale and glTranslate all create a matrix them premutiply the current matrix by that, setting the current matrix to the result of that calculation.

also you should read this: http://mathworld.wolfram.com/MatrixMultiplication.html

Sir, e^iπ + 1 = 0, hence God exists; reply!
Quote this message in a reply
Post Reply