Skip to main content
GameDev.net gamedev.net
🔒 Locked

how does this work glMultMatrixd(P)

Started by OgbobeBuko Aug 24, 2011 at 9:24 AM 0 replies 2.7k views
Original Post
OgbobeBuko
OgbobeBuko
i have not been able to find tutorials that could explain to me what this function glMultMatrixd(P ) actually does
could anyone please explain it to me

thank you
haegarr
haegarr
It computes the product
M := M * M[sub]f[/sub]
where M is the matrix on the top of the current matrix stack, and M[sub]f[/sub] is the matrix given as argument to the function. Notice that the argument matrix is on the right like any matrix generated by glTranslate, glRotate, glScale, ..., too. In other words: It multiplies the argument matrix with the matrix on the top of the stack and replaces the top matrix with the product.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.