Removed more unnecessary tabs in blank lines

This commit is contained in:
Alexander Szpakowski
2013-01-07 07:11:40 -04:00
parent eb98e8cc48
commit e5388ff73b
7 changed files with 90 additions and 98 deletions
+7 -7
View File
@@ -125,14 +125,14 @@ public:
* Returns the spacing modifier.
**/
float getSpacing() const;
void setFilter(const Image::Filter &f);
Image::Filter getFilter();
// Implements Volatile.
bool loadVolatile();
void unloadVolatile();
private:
enum FontType
@@ -154,13 +154,13 @@ private:
int spacing;
GlyphQuad quad;
};
// used to determine when to change textures in the vertex array generated when printing text
struct GlyphArrayDrawInfo
{
GLuint texture;
int startquad, numquads;
// used when sorting with std::sort
// sorts by texture first (binding textures is expensive) and relative position in memory second
bool operator < (const GlyphArrayDrawInfo &other) const
@@ -177,16 +177,16 @@ private:
int height;
float lineHeight;
float mSpacing; // modifies the spacing by multiplying it with this value
int texture_size_index;
int texture_width;
int texture_height;
std::vector<GLuint> textures; // vector of packed textures
std::map<int, Glyph *> glyphs; // maps glyphs to quad information
FontType type;
Image::Filter filter;
static const int NUM_TEXTURE_SIZES = 7;
static const int TEXTURE_WIDTHS[NUM_TEXTURE_SIZES];
static const int TEXTURE_HEIGHTS[NUM_TEXTURE_SIZES];