Example #1
0
//----------mouseWheel----------
void mouseWheel(int button, int state, int x, int y)
{
	if (state > 0) // Zoom IN
    {
		_escena.zoomPercent(125);
    }
    else // Zoom OUT
    {
		_escena.zoomPercent(80);
    }

    glutPostRedisplay();
}