Hi,Im trying to design a swing and if all possible in 3d.My problem at the moment is im getting an error message saying
error C2660: 'glOrtho' : function does not take 5 parameters.
Could somebody tell me what this means.
Also im not able to see anything on the screen with the code.I be very gratefull if somebody could have a look at the code and point me in the right direction.Thanks

I'm not sure how much simpler the compiler can tell you what exactly is wrong. A refresher course in C/C++ might be in order here.

Deiussum

11-24-2003, 01:26 PM

The next problem you are going to run into is that you have the line that sets the matrix mode to GL_MODELVIEW commented out. You'll want that uncommented or you will clear out your projection matrix, which is where you should have put your glOrtho call...

There may be other problems, but I haven't really looked that close.

hoganh

11-24-2003, 01:42 PM

Thanks I got it working.
Is there anybody who could help me make the swing in 3D.As you can see im only new to opengl.