Changeset 3735 in orxonox.OLD for orxonox/branches/textEngine/src/lib/graphics/font/glfont.h
- Timestamp:
- Apr 6, 2005, 5:36:38 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/textEngine/src/lib/graphics/font/glfont.h
r3718 r3735 26 26 27 27 28 29 //! A Struct to handel Texture Coordinates for quads 30 struct TexCoord 31 { 32 float minU; //!< The minimum U-Coordinate 33 float maxU; //!< The maximum U-Coordinate 34 float minV; //!< The minimum V-Coordinate 35 float maxV; //!< The maximum V-Coordinate 36 }; 37 28 38 //! A struct for handling glyphs 29 39 /** … … 32 42 struct Glyph 33 43 { 44 // Glyph-specific (size and so on) 34 45 Uint16 character; //!< The character 35 46 int minX; //!< The minimum distance from the origin in X … … 42 53 int bearingY; //!< How much is above the Origin 43 54 int advance; //!< How big a Glyph would be in monospace-mode 44 }; 45 46 //! A Struct to handel Texture Coordinates for quads 47 struct TexCoord 48 { 49 float minU; //!< The minimum U-Coordinate 50 float maxU; //!< The maximum U-Coordinate 51 float minV; //!< The minimum V-Coordinate 52 float maxV; //!< The maximum V-Coordinate 55 56 // OpenGL-specific 57 TexCoord texCoord; //!< A Texture Coordinate for this glyph 53 58 }; 54 59
Note: See TracChangeset
for help on using the changeset viewer.