From 5534828032730762f8c1e4daf924b466fffb8be0 Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 16 Oct 2018 23:09:18 +0800 Subject: =?UTF-8?q?*=E6=A0=BC=E5=BC=8F=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/Graphics/Font/Page.h | 46 ++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'src/libjin/Graphics/Font/Page.h') diff --git a/src/libjin/Graphics/Font/Page.h b/src/libjin/Graphics/Font/Page.h index 6e7cbdf..e1430e1 100644 --- a/src/libjin/Graphics/Font/Page.h +++ b/src/libjin/Graphics/Font/Page.h @@ -5,34 +5,34 @@ namespace jin { -namespace graphics -{ + namespace graphics + { - class Font; + class Font; - struct GlyphVertex - { - int x, y; // screen coordinates - float u, v; // texture uv - }; + struct GlyphVertex + { + int x, y; // screen coordinates + float u, v; // texture uv + }; - struct GlyphArrayDrawInfo - { - GLuint texture; // atlas - unsigned int start; // glyph vertex indecies - unsigned int count; // glyph vertex count - }; + struct GlyphArrayDrawInfo + { + GLuint texture; // atlas + unsigned int start; // glyph vertex indecies + unsigned int count; // glyph vertex count + }; - /* for reduce draw call */ - struct Page - { - Font* font; - std::vector glyphinfolist; - std::vector glyphvertices; - math::Vector2 size; - }; + /* for reduce draw call */ + struct Page + { + Font* font; + std::vector glyphinfolist; + std::vector glyphvertices; + math::Vector2 size; + }; -} + } } #endif \ No newline at end of file -- cgit v1.1-26-g67d0