18 years, 3 months ago
Highlights
if (state == GLUT_UP) { if (button == GLUT_WHEEL_UP || button == GLUT_WHEEL_DOWN) { float dir = button == GLUT_WHEEL_UP ? 1 : -1; float oldScaleX = m_xScale; m_xScale += SCALE_I…
18 years, 3 months ago
Hi, I'm trying to zoom to where the mouse pointer is, I can zoom to an arbitrary point, but I just can't seem to get this to work with the mouse pointer: void Interface::DrawGLS…
18 years, 3 months ago