Ignore:
Timestamp:
05/18/13 10:55:38 (12 years ago)
Author:
melon
Message:

Fixed typos (gylph => glyph)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nv/gl/texture_font.hh

    r22 r24  
    1717namespace nv
    1818{
    19         struct texture_gylph
     19        struct texture_glyph
    2020        {
    2121            uint16 charcode;
     
    2727                std::unordered_map< uint16, float > kerning;
    2828
    29                 texture_gylph();
     29                texture_glyph();
    3030                float get_kerning( const uint16 charcode );
    3131        };
     
    3535        public:
    3636                texture_font( texture_atlas* atlas, const char * filename, float size );
    37                 const texture_gylph* get_gylph( uint16 charcode ) const;
     37                const texture_glyph* get_glyph( uint16 charcode ) const;
    3838                bool load_glyphs( const std::string& codes );
    3939                ~texture_font();
     
    4141                void generate_kerning();
    4242        private:
    43                 std::unordered_map< uint16, texture_gylph > m_gylphs;
     43                std::unordered_map< uint16, texture_glyph > m_glyphs;
    4444                texture_atlas* m_atlas;
    4545                std::string m_filename;
Note: See TracChangeset for help on using the changeset viewer.