Loading Fonts
Hi I have read the OpenGL Game Programming Book on how to load font''s.
The font''s are loaded into a display list and the base display list is returned in a function.
What does the following line of code mean?
glListBase(base - 32);
Why do you have to minus 32 the text dosen''t display correctly without this.
Thanks hope you understand what I mean
~Steve~
The minus 32 is so that if you display list ''a'' (for the ''a'' character) it should actually display ''a''-32, which is 97-32, which means the ''a'' character is the 65th list past ''base''.
[Resist Windows XP''s Invasive Production Activation Technology!]
[Resist Windows XP''s Invasive Production Activation Technology!]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement