void Canvas:: pushCT(void) { glMatrixMode(GL_MODELVIEW); glPushMatrix(); // push a copy of the top matrix } void Canvas:: popCT(void) { glMatrixMode(GL_MODELVIEW); glPopMatrix(); // pop the top matrix from the stack }