NeHe 2D Text tutorial
I''m generally new to OpenGL/C++ etc and was wondering if its possible to put the functions from this tutorial into a header file so call them from there so that I don''t needa retype it for every program I write. What about variables, will there be variables across the header file crappy conflicts which means I''ll have to extern loadsa stuff? Just wanted to ask before I start typing cause I don''t have much time (my AS-Level exams are in 2 weeks)
Cheers
You should understand, what NeHe is writing, not just copy it... If you understand it, you can easily write your own way of hiding the variables... (COpenGL or whatever)
cya,
Phil
Visit Rarebyte!
and no!, there are NO kangaroos in Austria (I got this questions a few times over in the states
cya,
Phil
Visit Rarebyte!
and no!, there are NO kangaroos in Austria (I got this questions a few times over in the states
Visit Rarebyte! and no!, there are NO kangaroos in Austria (I got this question a few times over in the states ;) )
I knew someone would say that, I was going to write something similar i didn''t. I understand fully what is happening, but if you''ve been taught something when you yourself create it you emulate what has been taught and so since I haven''t read a OGL text tutorial anywhere else my style emulates NeHe''s. And anyways, my question doesn''t really have to do with the text to screen methods at all just the general use functions within'' header files and the variables they use since being new to OGL/C++ as I said I have never done this before!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement