HELP: Need routines for 3D!

Hi,

I need mathmatical equations that will help me change the viewpoint!
Here are my current equations:

  X := 320-X+Y;
  Y := 240-Z+X+Y;

I using Turbo Pascal 5.5. Give me all you know, just don't email me!