Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 6, 2005, 5:36:38 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/textEngine: minor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/textEngine/src/lib/graphics/font/glfont.h

    r3718 r3735  
    2626
    2727
     28
     29//! A Struct to handel Texture Coordinates for quads
     30struct 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
    2838//! A struct for handling glyphs
    2939/**
     
    3242struct Glyph
    3343{
     44  // Glyph-specific (size and so on)
    3445  Uint16 character;              //!< The character
    3546  int minX;                      //!< The minimum distance from the origin in X
     
    4253  int bearingY;                  //!< How much is above the Origin
    4354  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
    5358};
    5459
Note: See TracChangeset for help on using the changeset viewer.