Archived

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

hello_there

stupid thing

Recommended Posts

hello_there    122
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
easyBob    122
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