Code:text-quads.h: Difference between revisions

no edit summary
(Created page with "<syntaxhighlight lang="c"> // text-quads.h // Functions for drawing text in OpenGL, using textured quads. #define TQ_TEXTURE_WIDTH 1004 #define TQ_TEXTURE_HEIGHT 19 #define TQ_TEXTURE_FILENAME "font.data-uint8-1004x19" // DEPENDENCY: This texture file. /* Copyright 2022, Elie Goldman Smith This program is FREE SOFTWARE: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ver...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
C header for drawing text in OpenGL.
Depends on font bitmap: [[:File:font.data-uint8-1004x19]]
==Code==
<syntaxhighlight lang="c">
<syntaxhighlight lang="c">
// text-quads.h
// text-quads.h