myDisplay() problems..

i am trying to find a way to access member variables in myDisplay so i can update the rotation and translation of my object without making myDisplay a member function, if i make it a member function i cannot call it in the callback functions - glutDisplayFunc(myDisplay);

where am i going wrong???

One solution would be to create a global pointer to your object, and then use the global pointer to access it from inside myDisplay().