Archived

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

stupid thing

This topic is 5913 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
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