how do I calculate correct angles to a stereo object ?

i have split the window and put some object in the scene…i want to display an object with different view(for left and right eye)in my program using openGL…
how can i implement the calculation of the stereo object into my source code?

i not really understand to impliment it to my program…can you describe it to me?