transformation

Do any of you here haf a ready made open gl with C language program which does the following:

  1. asks the use to input parameters for X-axis n Y-axis

  2. use these parameters to perform trnaformation to change the position of the object from one end to the other according to the parameters

  3. the objective is to show transformation to leaners how the actual thing works

thanks
your help is urgently needed

This is just what you’re looking for:
http://www.xmission.com/~nate/tutors.html