Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

hello_there

stupid thing

This topic is 6100 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i made a class for drawing polygons in open gl. but of cause it didn''t work. there''s no reason why it shouldn''t work. can someone please tell how i can put the drawing commands in anouther file like drawing.cpp instead of the main .cpp file. when ever one try it doesn''t work. hmmm interesting

Share this post


Link to post
Share on other sites
Advertisement
All you need to do to use openGL commands in another class is
#include (less than sign)gl/gl.h(greater than sign)
that should do it.

bob

Edited by - easyBob on November 9, 2001 5:31:33 AM

Edited by - easyBob on November 9, 2001 5:32:28 AM

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!