Fixed the god-awful indentation

This commit is contained in:
mathusummut
2018-05-06 00:01:36 +02:00
parent 643e3820f5
commit 35b7b1f1a6
459 changed files with 204893 additions and 217545 deletions

View File

@@ -19,42 +19,47 @@
using std::string;
namespace Shared { namespace Graphics {
namespace Shared {
namespace Graphics {
// =====================================================
// class TextRenderer2D
// =====================================================
// =====================================================
// class TextRenderer2D
// =====================================================
class TextRenderer {
public:
virtual void render(const string &text, float x, float y, bool centered=false, Vec3f *color=NULL) = 0;
virtual void end()= 0;
class TextRenderer {
public:
virtual void render(const string &text, float x, float y, bool centered = false, Vec3f *color = NULL) = 0;
virtual void end() = 0;
virtual ~TextRenderer() {}
};
virtual ~TextRenderer() {
}
};
class TextRenderer2D : public TextRenderer {
public:
virtual ~TextRenderer2D(){};
class TextRenderer2D : public TextRenderer {
public:
virtual ~TextRenderer2D() {
};
virtual void begin(Font2D *font)= 0;
//virtual void render(const string &text, int x, int y, bool centered= false,Vec3f *color=NULL)= 0;
//virtual void end()= 0;
};
virtual void begin(Font2D *font) = 0;
//virtual void render(const string &text, int x, int y, bool centered= false,Vec3f *color=NULL)= 0;
//virtual void end()= 0;
};
// =====================================================
// class TextRenderer3D
// =====================================================
// =====================================================
// class TextRenderer3D
// =====================================================
class TextRenderer3D : public TextRenderer {
public:
virtual ~TextRenderer3D(){};
class TextRenderer3D : public TextRenderer {
public:
virtual ~TextRenderer3D() {
};
virtual void begin(Font3D *font)= 0;
//virtual void render(const string &text, float x, float y, bool centered= false,Vec3f *color=NULL)= 0;
//virtual void end()= 0;
};
virtual void begin(Font3D *font) = 0;
//virtual void render(const string &text, float x, float y, bool centered= false,Vec3f *color=NULL)= 0;
//virtual void end()= 0;
};
}}//end namespace
}
}//end namespace
#endif