Browse Source

Fixed tabs/spaces.

Бранимир Караџић 6 years ago
parent
commit
3f647f1ca1

+ 7 - 7
examples/06-bump/bump.cpp

@@ -85,8 +85,8 @@ static const uint16_t s_cubeIndices[36] =
 class ExampleBump : public entry::AppI
 {
 public:
-    ExampleBump(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleBump(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -371,8 +371,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-    ExampleBump
-    , "06-bump"
-    , "Loading textures."
-    , "https://bkaradzic.github.io/bgfx/examples.html#bump"
-    );
+	  ExampleBump
+	, "06-bump"
+	, "Loading textures."
+	, "https://bkaradzic.github.io/bgfx/examples.html#bump"
+	);

+ 7 - 7
examples/07-callback/callback.cpp

@@ -307,8 +307,8 @@ private:
 class ExampleCallback : public entry::AppI
 {
 public:
-    ExampleCallback(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleCallback(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -499,8 +499,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-    ExampleCallback
-    , "07-callback"
-    , "Implementing application specific callbacks for taking screen shots, caching OpenGL binary shaders, and video capture."
-    , "https://bkaradzic.github.io/bgfx/examples.html#callback"
-    );
+	  ExampleCallback
+	, "07-callback"
+	, "Implementing application specific callbacks for taking screen shots, caching OpenGL binary shaders, and video capture."
+	, "https://bkaradzic.github.io/bgfx/examples.html#callback"
+	);

+ 7 - 7
examples/08-update/update.cpp

@@ -145,8 +145,8 @@ static const uint32_t kTexture2dSize = 256;
 class ExampleUpdate : public entry::AppI
 {
 public:
-    ExampleUpdate(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleUpdate(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 		, m_cube(kTextureSide)
 	{
 	}
@@ -724,8 +724,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-    ExampleUpdate
-    , "08-update"
-    , "Updating textures."
-    , "https://bkaradzic.github.io/bgfx/examples.html#update"
-    );
+	  ExampleUpdate
+	, "08-update"
+	, "Updating textures."
+	, "https://bkaradzic.github.io/bgfx/examples.html#update"
+	);

+ 7 - 7
examples/09-hdr/hdr.cpp

@@ -140,8 +140,8 @@ void setOffsets4x4Lum(bgfx::UniformHandle _handle, uint32_t _width, uint32_t _he
 class ExampleHDR : public entry::AppI
 {
 public:
-    ExampleHDR(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleHDR(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -630,8 +630,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-        ExampleHDR
-        , "09-hdr"
-        , "Using multiple views with frame buffers, and view order remapping."
-        , "https://bkaradzic.github.io/bgfx/examples.html#hdr"
-        );
+	  ExampleHDR
+	, "09-hdr"
+	, "Using multiple views with frame buffers, and view order remapping."
+	, "https://bkaradzic.github.io/bgfx/examples.html#hdr"
+	);

+ 7 - 7
examples/10-font/font.cpp

@@ -54,8 +54,8 @@ static const char* s_fontFilePath[] =
 class ExampleFont : public entry::AppI
 {
 public:
-    ExampleFont(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleFont(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -330,8 +330,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-        ExampleFont
-        , "10-font"
-        , "Use the font system to display text and styled text."
-        , "https://bkaradzic.github.io/bgfx/examples.html#font"
-        );
+	  ExampleFont
+	, "10-font"
+	, "Use the font system to display text and styled text."
+	, "https://bkaradzic.github.io/bgfx/examples.html#font"
+	);

+ 5 - 5
examples/29-debugdraw/debugdraw.cpp

@@ -1225,8 +1225,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-    ExampleDebugDraw
-    , "29-debugdraw"
-    , "Debug draw."
-    , "https://bkaradzic.github.io/bgfx/examples.html#debugdraw"
-    );
+	  ExampleDebugDraw
+	, "29-debugdraw"
+	, "Debug draw."
+	, "https://bkaradzic.github.io/bgfx/examples.html#debugdraw"
+	);