help with vc++
why unlikely all the other function the opengl function don''t have the brief when i type it ?it is boring because i have to check all the time which argument a function have.
ah the same thing appen with object,why don''t appear the menu when i type object. ?
I just discovered a really neat trick to accomplish what you''re doing.. I had never done this before, but it worked great..
Add the header files to your actual project workspace.. I added math.h while I was using it extensively and all the parameter lists came up for each function..
The only drawback to this of course, is now every function in that particular header will be listed under your global functions.. So it''s a tradeoff.. However, when programming in OpenGL as a newbie ( or someone who doesn''t like to look up syntax ) it may be worth it..
So in your case, you''d add gl.h, glaux.h and possibly glu.h..
just a suggestion.. there may be an easier way for what you want, but this works really well.. ( you can always remove them from the project too )..
bosco()
Add the header files to your actual project workspace.. I added math.h while I was using it extensively and all the parameter lists came up for each function..
The only drawback to this of course, is now every function in that particular header will be listed under your global functions.. So it''s a tradeoff.. However, when programming in OpenGL as a newbie ( or someone who doesn''t like to look up syntax ) it may be worth it..
So in your case, you''d add gl.h, glaux.h and possibly glu.h..
just a suggestion.. there may be an easier way for what you want, but this works really well.. ( you can always remove them from the project too )..
bosco()
--leader of the free world .. or something ..
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement