AeroSujan
11-02-2009, 03:46 AM
Dear Friends
Please give me some idea how can i give pan functionality on the items in the view.
I am trying with
///////////////////////////////////////////////////////////
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
glTranslated(dx,dy,0.0f);
glCallList(object);
////////////////////////////////////////////////////////////////
// But this is not panning/translating my objects.
any help would be appreciated !
Please give me some idea how can i give pan functionality on the items in the view.
I am trying with
///////////////////////////////////////////////////////////
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
glTranslated(dx,dy,0.0f);
glCallList(object);
////////////////////////////////////////////////////////////////
// But this is not panning/translating my objects.
any help would be appreciated !