View Full Version : Matrix Stack Question

04-03-2011, 02:25 PM
I think I understand the matrix stack.
However, this produces a result that confuses me.

>code< (http://www.pasteall.org/20531/cpp)

I think it should: create a spiral, then create a grid in an independent coordinate system
However, it does this: spiral followed by a tiny grid at the end

Also, when I move the glBegin and glEnd calls to the outside of the loops, it only displays one point.