example how to rate arround a object

Hi all

will somebody have a simple example to rotate and translate the camera around an object using as buttons of mouse, for example rotate around a cube?

Thanks

Take a look at gltzpr

There is a demo program: zprdemo.c

which on linux compiles as


g++ zprdemo.c zpr.c -lGL -lGLU -lglut

on windows just use your compiler accordingly.

Hi
marshats

Thanks by o link, but I don’t access it.

Please, could you copy the link again?

Thanks very much.

http://www.nigels.com/glt/gltzpr/ works for me

I am sorry, somehow my network does not allow me to access it, I’ll review.

Thanks