I am learning some Lite-C programming and have been able to get a PC to move, jump, etc, to include external Lite-C files, etc. Now I have a task and am a bit lost and hoping someone here can point me in the right direction.

I want to load a single MDL file and then, via clicking the LMB and dragging, move the view around the model. This way the end-user could rotate and view the model from any angle. The model, of course, would stay centered in the view.

Is there a tutorial for this or an example file that I can use to learn from?

Any help would be appreciated.