Browse Source

Fixed tabs/spaces

Leandro Freire 6 years ago
parent
commit
33ac8934ff

+ 7 - 7
examples/05-instancing/instancing.cpp

@@ -62,8 +62,8 @@ static const uint16_t s_cubeIndices[36] =
 class ExampleInstancing : public entry::AppI
 {
 public:
-    ExampleInstancing(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleInstancing(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -262,8 +262,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-    ExampleInstancing
-    , "05-instancing"
-    , "Geometry instancing."
-    , "https://bkaradzic.github.io/bgfx/examples.html#instancing"
-    );
+	  ExampleInstancing
+	, "05-instancing"
+	, "Geometry instancing."
+	, "https://bkaradzic.github.io/bgfx/examples.html#instancing"
+	);

+ 7 - 7
examples/11-fontsdf/fontsdf.cpp

@@ -37,8 +37,8 @@ TrueTypeHandle loadTtf(FontManager* _fm, const char* _filePath)
 class ExampleFontSDF : public entry::AppI
 {
 public:
-    ExampleFontSDF(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleFontSDF(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -283,8 +283,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-    ExampleFontSDF
-    , "11-fontsdf"
-    , "Use a single distance field font to render text of various size."
-    , "https://bkaradzic.github.io/bgfx/examples.html#fontsdf"
-    );
+	  ExampleFontSDF
+	, "11-fontsdf"
+	, "Use a single distance field font to render text of various size."
+	, "https://bkaradzic.github.io/bgfx/examples.html#fontsdf"
+	);

+ 7 - 7
examples/12-lod/lod.cpp

@@ -29,8 +29,8 @@ static const KnightPos knightTour[8*4] =
 class ExampleLod : public entry::AppI
 {
 public:
-    ExampleLod(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleLod(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -312,8 +312,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-        ExampleLod
-        , "12-lod"
-        , "Mesh LOD transitions."
-        , "https://bkaradzic.github.io/bgfx/examples.html#lod"
-        );
+	  ExampleLod
+	, "12-lod"
+	, "Mesh LOD transitions."
+	, "https://bkaradzic.github.io/bgfx/examples.html#lod"
+	);

+ 7 - 7
examples/13-stencil/stencil.cpp

@@ -789,8 +789,8 @@ struct Mesh
 class ExampleStencil : public entry::AppI
 {
 public:
-    ExampleStencil(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleStencil(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -1403,8 +1403,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-    ExampleStencil
-    , "13-stencil"
-    , "Stencil reflections and shadows."
-    , "https://bkaradzic.github.io/bgfx/examples.html#stencil"
-    );
+	  ExampleStencil
+	, "13-stencil"
+	, "Stencil reflections and shadows."
+	, "https://bkaradzic.github.io/bgfx/examples.html#stencil"
+	);

+ 9 - 9
examples/14-shadowvolumes/shadowvolumes.cpp

@@ -978,12 +978,12 @@ struct Mesh
 
 			const bgfx::Memory* mem = bgfx::makeRef(group.m_vertices, vertexSize);
 			group.m_vbh = bgfx::createVertexBuffer(mem, m_layout);
-			
+
 			group.m_numIndices = it->m_numIndices;
 			const uint32_t indexSize = 2 * group.m_numIndices;
 			group.m_indices = (uint16_t*)malloc(indexSize);
 			bx::memCopy(group.m_indices, it->m_indices, indexSize);
-			
+
 			mem = bgfx::makeRef(group.m_indices, indexSize);
 			group.m_ibh = bgfx::createIndexBuffer(mem);
 
@@ -991,7 +991,7 @@ struct Mesh
 			group.m_aabb = it->m_aabb;
 			group.m_obb = it->m_obb;
 			group.m_prims = it->m_prims;
-			
+
 			m_groups.push_back(group);
 		}
 		::meshUnload(mesh);
@@ -1760,8 +1760,8 @@ enum Scene
 class ExampleShadowVolumes : public entry::AppI
 {
 public:
-    ExampleShadowVolumes(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleShadowVolumes(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -2835,7 +2835,7 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-    ExampleShadowVolumes
-    , "14-shadowvolumes"
-    , "Shadow volumes."
-    , "https://bkaradzic.github.io/bgfx/examples.html#shadowvolumes");
+	  ExampleShadowVolumes
+	, "14-shadowvolumes"
+	, "Shadow volumes."
+	, "https://bkaradzic.github.io/bgfx/examples.html#shadowvolumes");

+ 7 - 7
examples/15-shadowmaps-simple/shadowmaps_simple.cpp

@@ -61,8 +61,8 @@ static const uint16_t s_planeIndices[] =
 class ExampleShadowmapsSimple : public entry::AppI
 {
 public:
-    ExampleShadowmapsSimple(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleShadowmapsSimple(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -506,8 +506,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-    ExampleShadowmapsSimple
-    , "15-shadowmaps-simple"
-    , "Shadow maps example"
-    , "https://bkaradzic.github.io/bgfx/examples.html#shadowmaps-simple"
-    );
+	  ExampleShadowmapsSimple
+	, "15-shadowmaps-simple"
+	, "Shadow maps example"
+	, "https://bkaradzic.github.io/bgfx/examples.html#shadowmaps-simple"
+	);

+ 13 - 13
examples/16-shadowmaps/shadowmaps.cpp

@@ -1284,8 +1284,8 @@ struct SceneSettings
 class ExampleShadowmaps : public entry::AppI
 {
 public:
-    ExampleShadowmaps(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleShadowmaps(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -2311,17 +2311,17 @@ public:
 						 , 0.0f
 						 , caps->homogeneousDepth
 						 );
-			
+
 			// Update render target size.
 			uint16_t shadowMapSize = 1 << uint32_t(currentSmSettings->m_sizePwrTwo);
 			if (bLtChanged || m_currentShadowMapSize != shadowMapSize)
 			{
 				m_currentShadowMapSize = shadowMapSize;
 				s_uniforms.m_shadowMapTexelSize = 1.0f / currentShadowMapSizef;
-				
+
 				{
 					bgfx::destroy(s_rtShadowMap[0]);
-					
+
 					bgfx::TextureHandle fbtextures[] =
 					{
 						bgfx::createTexture2D(m_currentShadowMapSize, m_currentShadowMapSize, false, 1, bgfx::TextureFormat::BGRA8, BGFX_TEXTURE_RT),
@@ -2329,14 +2329,14 @@ public:
 					};
 					s_rtShadowMap[0] = bgfx::createFrameBuffer(BX_COUNTOF(fbtextures), fbtextures, true);
 				}
-				
+
 				if (LightType::DirectionalLight == m_settings.m_lightType)
 				{
 					for (uint8_t ii = 1; ii < ShadowMapRenderTargets::Count; ++ii)
 					{
 						{
 							bgfx::destroy(s_rtShadowMap[ii]);
-							
+
 							bgfx::TextureHandle fbtextures[] =
 							{
 								bgfx::createTexture2D(m_currentShadowMapSize, m_currentShadowMapSize, false, 1, bgfx::TextureFormat::BGRA8, BGFX_TEXTURE_RT),
@@ -2346,7 +2346,7 @@ public:
 						}
 					}
 				}
-				
+
 				bgfx::destroy(s_rtBlur);
 				s_rtBlur = bgfx::createFrameBuffer(m_currentShadowMapSize, m_currentShadowMapSize, bgfx::TextureFormat::BGRA8);
 			}
@@ -3252,8 +3252,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-    ExampleShadowmaps
-    , "16-shadowmaps"
-    , "Shadow maps example."
-    , "https://bkaradzic.github.io/bgfx/examples.html#shadowmaps"
-    );
+	  ExampleShadowmaps
+	, "16-shadowmaps"
+	, "Shadow maps example."
+	, "https://bkaradzic.github.io/bgfx/examples.html#shadowmaps"
+	);

+ 7 - 7
examples/17-drawstress/drawstress.cpp

@@ -100,8 +100,8 @@ int32_t threadFunc(bx::Thread* _thread, void* _userData);
 class ExampleDrawStress : public entry::AppI
 {
 public:
-    ExampleDrawStress(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleDrawStress(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -460,8 +460,8 @@ int32_t threadFunc(bx::Thread* _thread, void* _userData)
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-    ExampleDrawStress
-    , "17-drawstress"
-    , "Draw stress, maximizing number of draw calls."
-    , "https://bkaradzic.github.io/bgfx/examples.html#drawstress"
-    );
+	  ExampleDrawStress
+	, "17-drawstress"
+	, "Draw stress, maximizing number of draw calls."
+	, "https://bkaradzic.github.io/bgfx/examples.html#drawstress"
+	);

+ 7 - 7
examples/18-ibl/ibl.cpp

@@ -398,8 +398,8 @@ struct Settings
 class ExampleIbl : public entry::AppI
 {
 public:
-    ExampleIbl(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleIbl(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -833,8 +833,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-        ExampleIbl
-        , "18-ibl"
-        , "Image-based lighting."
-        , "https://bkaradzic.github.io/bgfx/examples.html#ibl"
-        );
+	  ExampleIbl
+	, "18-ibl"
+	, "Image-based lighting."
+	, "https://bkaradzic.github.io/bgfx/examples.html#ibl"
+	);

+ 7 - 7
examples/19-oit/oit.cpp

@@ -152,8 +152,8 @@ void screenSpaceQuad(float _textureWidth, float _textureHeight, bool _originBott
 class ExampleOIT : public entry::AppI
 {
 public:
-    ExampleOIT(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleOIT(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -551,8 +551,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-        ExampleOIT
-        , "19-oit"
-        , "Weighted, Blended Order Independent Transparency."
-        , "https://bkaradzic.github.io/bgfx/examples.html#oit"
-        );
+	  ExampleOIT
+	, "19-oit"
+	, "Weighted, Blended Order Independent Transparency."
+	, "https://bkaradzic.github.io/bgfx/examples.html#oit"
+	);

+ 7 - 7
examples/20-nanovg/nanovg.cpp

@@ -1385,8 +1385,8 @@ void renderDemo(struct NVGcontext* vg, float mx, float my, float width, float he
 class ExampleNanoVG : public entry::AppI
 {
 public:
-    ExampleNanoVG(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleNanoVG(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -1506,8 +1506,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-    ExampleNanoVG
-    , "20-nanovg"
-    , "NanoVG is small antialiased vector graphics rendering library."
-    , "https://bkaradzic.github.io/bgfx/examples.html#nanovg"
-    );
+	  ExampleNanoVG
+	, "20-nanovg"
+	, "NanoVG is small antialiased vector graphics rendering library."
+	, "https://bkaradzic.github.io/bgfx/examples.html#nanovg"
+	);

+ 7 - 7
examples/21-deferred/deferred.cpp

@@ -193,8 +193,8 @@ void screenSpaceQuad(float _textureWidth, float _textureHeight, float _texelHalf
 class ExampleDeferred : public entry::AppI
 {
 public:
-    ExampleDeferred(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleDeferred(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -896,8 +896,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-    ExampleDeferred
-    , "21-deferred"
-    , "MRT rendering and deferred shading."
-    , "https://bkaradzic.github.io/bgfx/examples.html#deferred"
-    );
+	  ExampleDeferred
+	, "21-deferred"
+	, "MRT rendering and deferred shading."
+	, "https://bkaradzic.github.io/bgfx/examples.html#deferred"
+	);

+ 7 - 7
examples/22-windows/windows.cpp

@@ -69,8 +69,8 @@ static const uint16_t s_cubeIndices[36] =
 class ExampleWindows : public entry::AppI
 {
 public:
-    ExampleWindows(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleWindows(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -379,11 +379,11 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-    ExampleWindows
-    , "22-windows"
-    , "Rendering into multiple windows."
-    , "https://bkaradzic.github.io/bgfx/examples.html#windows"
-    );
+	  ExampleWindows
+	, "22-windows"
+	, "Rendering into multiple windows."
+	, "https://bkaradzic.github.io/bgfx/examples.html#windows"
+	);
 
 void cmdCreateWindow(const void* _userData)
 {

+ 7 - 7
examples/23-vectordisplay/main.cpp

@@ -37,8 +37,8 @@ bgfx::VertexLayout PosColorVertex::ms_layout;
 class ExampleVectorDisplay : public entry::AppI
 {
 public:
-    ExampleVectorDisplay(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleVectorDisplay(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -219,8 +219,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-    ExampleVectorDisplay
-    , "23-vectordisplay"
-    , "Rendering lines as oldschool vectors."
-    , "https://bkaradzic.github.io/bgfx/examples.html#vectordisplay"
-    );
+	  ExampleVectorDisplay
+	, "23-vectordisplay"
+	, "Rendering lines as oldschool vectors."
+	, "https://bkaradzic.github.io/bgfx/examples.html#vectordisplay"
+	);

+ 7 - 7
examples/24-nbody/nbody.cpp

@@ -113,8 +113,8 @@ const uint32_t kMaxParticleCount      = 32 * 1024;
 class ExampleNbody : public entry::AppI
 {
 public:
-    ExampleNbody(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleNbody(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -459,8 +459,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-        ExampleNbody
-        , "24-nbody"
-        , "N-body simulation with compute shaders using buffers."
-        , "https://bkaradzic.github.io/bgfx/examples.html#nbody"
-        );
+	  ExampleNbody
+	, "24-nbody"
+	, "N-body simulation with compute shaders using buffers."
+	, "https://bkaradzic.github.io/bgfx/examples.html#nbody"
+	);

+ 7 - 7
examples/26-occlusion/occlusion.cpp

@@ -65,8 +65,8 @@ static const uint16_t s_cubeIndices[36] =
 class ExampleOcclusion : public entry::AppI
 {
 public:
-    ExampleOcclusion(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleOcclusion(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -312,8 +312,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-    ExampleOcclusion
-    , "26-occlusion"
-    , "Using occlusion query for conditional rendering."
-    , "https://bkaradzic.github.io/bgfx/examples.html#occlusion"
-    );
+	  ExampleOcclusion
+	, "26-occlusion"
+	, "Using occlusion query for conditional rendering."
+	, "https://bkaradzic.github.io/bgfx/examples.html#occlusion"
+	);

+ 7 - 7
examples/27-terrain/terrain.cpp

@@ -62,8 +62,8 @@ struct BrushData
 class ExampleTerrain : public entry::AppI
 {
 public:
-    ExampleTerrain(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+ExampleTerrain(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -523,8 +523,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-    ExampleTerrain
-    , "27-terrain"
-    , "Terrain painting example."
-    , "https://bkaradzic.github.io/bgfx/examples.html#terrain"
-    );
+	  ExampleTerrain
+	, "27-terrain"
+	, "Terrain painting example."
+	, "https://bkaradzic.github.io/bgfx/examples.html#terrain"
+	);

+ 7 - 7
examples/28-wireframe/wireframe.cpp

@@ -271,8 +271,8 @@ struct Uniforms
 class ExampleWireframe : public entry::AppI
 {
 public:
-    ExampleWireframe(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleWireframe(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -522,8 +522,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-    ExampleWireframe
-    , "28-wirefame"
-    , "Drawing wireframe mesh."
-    , "https://bkaradzic.github.io/bgfx/examples.html#wireframe"
-    );
+	  ExampleWireframe
+	, "28-wirefame"
+	, "Drawing wireframe mesh."
+	, "https://bkaradzic.github.io/bgfx/examples.html#wireframe"
+	);

+ 7 - 7
examples/30-picking/picking.cpp

@@ -21,8 +21,8 @@ namespace
 class ExamplePicking : public entry::AppI
 {
 public:
-    ExamplePicking(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExamplePicking(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -443,8 +443,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-    ExamplePicking
-    , "30-picking"
-    , "Mouse picking via GPU texture readback."
-    , "https://bkaradzic.github.io/bgfx/examples.html#picking"
-    );
+	  ExamplePicking
+	, "30-picking"
+	, "Mouse picking via GPU texture readback."
+	, "https://bkaradzic.github.io/bgfx/examples.html#picking"
+	);

+ 7 - 7
examples/31-rsm/reflectiveshadowmap.cpp

@@ -186,8 +186,8 @@ void screenSpaceQuad(float _textureWidth, float _textureHeight, float _texelHalf
 class ExampleRSM : public entry::AppI
 {
 public:
-    ExampleRSM(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleRSM(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 		, m_reading(0)
 		, m_currFrame(UINT32_MAX)
 		, m_cameraSpin(false)
@@ -759,8 +759,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-        ExampleRSM
-        , "31-rsm"
-        , "Global Illumination with Reflective Shadow Map."
-        , "https://bkaradzic.github.io/bgfx/examples.html#rsm"
-        );
+	  ExampleRSM
+	, "31-rsm"
+	, "Global Illumination with Reflective Shadow Map."
+	, "https://bkaradzic.github.io/bgfx/examples.html#rsm"
+	);

+ 7 - 7
examples/32-particles/particles.cpp

@@ -229,8 +229,8 @@ struct Emitter
 class ExampleParticles : public entry::AppI
 {
 public:
-    ExampleParticles(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleParticles(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -453,8 +453,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-    ExampleParticles
-    , "32-particles"
-    , "Particles."
-    , "https://bkaradzic.github.io/bgfx/examples.html#particles"
-    );
+	  ExampleParticles
+	, "32-particles"
+	, "Particles."
+	, "https://bkaradzic.github.io/bgfx/examples.html#particles"
+	);

+ 7 - 7
examples/33-pom/pom.cpp

@@ -111,8 +111,8 @@ static const uint16_t s_cubeIndices[36] =
 class ExamplePom : public entry::AppI
 {
 public:
-    ExamplePom(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExamplePom(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -386,8 +386,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-        ExamplePom
-        , "33-pom"
-        , "Parallax mapping."
-        , "https://bkaradzic.github.io/bgfx/examples.html#pom"
-        );
+	  ExamplePom
+	, "33-pom"
+	, "Parallax mapping."
+	, "https://bkaradzic.github.io/bgfx/examples.html#pom"
+	);

+ 7 - 7
examples/34-mvs/mvs.cpp

@@ -105,8 +105,8 @@ static const uint16_t s_cubeTriStrip[] =
 class ExampleMvs : public entry::AppI
 {
 public:
-    ExampleMvs(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleMvs(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -282,8 +282,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-        ExampleMvs
-        , "34-mvs"
-        , "Multiple vertex streams."
-        , "https://bkaradzic.github.io/bgfx/examples.html#mvs"
-        );
+	  ExampleMvs
+	, "34-mvs"
+	, "Multiple vertex streams."
+	, "https://bkaradzic.github.io/bgfx/examples.html#mvs"
+	);

+ 7 - 7
examples/35-dynamic/dynamic.cpp

@@ -83,8 +83,8 @@ static const uint16_t s_cubeTriStrip[] =
 class ExampleDynamic : public entry::AppI
 {
 public:
-    ExampleDynamic(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleDynamic(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -283,8 +283,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-    ExampleDynamic
-    , "35-dynamic"
-    , "Dynamic buffers update."
-    , "https://bkaradzic.github.io/bgfx/examples.html#dynamic"
-    );
+	  ExampleDynamic
+	, "35-dynamic"
+	, "Dynamic buffers update."
+	, "https://bkaradzic.github.io/bgfx/examples.html#dynamic"
+	);

+ 7 - 7
examples/36-sky/sky.cpp

@@ -400,8 +400,8 @@ namespace
 	class ExampleProceduralSky : public entry::AppI
 	{
 	public:
-        ExampleProceduralSky(const char* _name, const char* _description, const char* _url)
-            : entry::AppI(_name, _description, _url)
+		ExampleProceduralSky(const char* _name, const char* _description, const char* _url)
+			: entry::AppI(_name, _description, _url)
 		{
 		}
 
@@ -662,8 +662,8 @@ namespace
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-    ExampleProceduralSky
-    , "36-sky"
-    , "Perez dynamic sky model."
-    , "https://bkaradzic.github.io/bgfx/examples.html#sky"
-    );
+	  ExampleProceduralSky
+	, "36-sky"
+	, "Perez dynamic sky model."
+	, "https://bkaradzic.github.io/bgfx/examples.html#sky"
+	);

+ 7 - 7
examples/37-gpudrivenrendering/gpudrivenrendering.cpp

@@ -306,8 +306,8 @@ float rand01()
 class GPUDrivenRendering : public entry::AppI
 {
 public:
-    GPUDrivenRendering(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	GPUDrivenRendering(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -1144,8 +1144,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-    GPUDrivenRendering
-    , "37-gpudrivenrendering"
-    , "GPU-Driven Rendering."
-    , "https://bkaradzic.github.io/bgfx/examples.html#gpudrivenrendering"
-    );
+	  GPUDrivenRendering
+	, "37-gpudrivenrendering"
+	, "GPU-Driven Rendering."
+	, "https://bkaradzic.github.io/bgfx/examples.html#gpudrivenrendering"
+	);

+ 8 - 8
examples/38-bloom/bloom.cpp

@@ -1,5 +1,5 @@
 /*
- * Copyright 2018 Eric Arnebäck. All rights reserved.
+ * Copyright 2018 Eric Arnebäck. All rights reserved.
  * License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
  */
 
@@ -182,8 +182,8 @@ void screenSpaceQuad(float _textureWidth, float _textureHeight, float _texelHalf
 class ExampleDeferred : public entry::AppI
 {
 public:
-    ExampleDeferred(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleDeferred(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -659,8 +659,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-    ExampleDeferred
-    , "38-bloom"
-    , "Bloom."
-    , "https://bkaradzic.github.io/bgfx/examples.html#bloom"
-    );
+	  ExampleDeferred
+	, "38-bloom"
+	, "Bloom."
+	, "https://bkaradzic.github.io/bgfx/examples.html#bloom"
+	);

+ 7 - 7
examples/39-assao/assao.cpp

@@ -247,8 +247,8 @@ namespace
 	class ExampleASSAO : public entry::AppI
 	{
 	public:
-        ExampleASSAO(const char* _name, const char* _description, const char* _url)
-            : entry::AppI(_name, _description, _url)
+		ExampleASSAO(const char* _name, const char* _description, const char* _url)
+			: entry::AppI(_name, _description, _url)
 			, m_currFrame(UINT32_MAX)
 			, m_enableSSAO(true)
 			, m_enableTexturing(true)
@@ -1201,10 +1201,10 @@ namespace
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-        ExampleASSAO
-        , "39-assao"
-        , "Adaptive Screen Space Ambient Occlusion."
-        , "https://bkaradzic.github.io/bgfx/examples.html#assao"
-        );
+	  ExampleASSAO
+	, "39-assao"
+	, "Adaptive Screen Space Ambient Occlusion."
+	, "https://bkaradzic.github.io/bgfx/examples.html#assao"
+	);
 
 

+ 7 - 7
examples/40-svt/svt.cpp

@@ -64,8 +64,8 @@ static const uint16_t s_planeIndices[] =
 class ExampleSVT : public entry::AppI
 {
 public:
-    ExampleSVT(const char* _name, const char* _description, const char* _url)
-        : entry::AppI(_name, _description, _url)
+	ExampleSVT(const char* _name, const char* _description, const char* _url)
+		: entry::AppI(_name, _description, _url)
 	{
 	}
 
@@ -373,8 +373,8 @@ public:
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-        ExampleSVT
-        , "40-svt"
-        , "Sparse Virtual Textures."
-        , "https://bkaradzic.github.io/bgfx/examples.html#svt"
-        );
+	  ExampleSVT
+	, "40-svt"
+	, "Sparse Virtual Textures."
+	, "https://bkaradzic.github.io/bgfx/examples.html#svt"
+	);

+ 7 - 7
examples/41-tess/tess.cpp

@@ -320,8 +320,8 @@ namespace
 	class ExampleTessellation : public entry::AppI
 	{
 	public:
-        ExampleTessellation(const char* _name, const char* _description, const char* _url)
-            : entry::AppI(_name, _description, _url)
+		ExampleTessellation(const char* _name, const char* _description, const char* _url)
+			: entry::AppI(_name, _description, _url)
 		{
 		}
 
@@ -926,8 +926,8 @@ namespace
 } // namespace
 
 ENTRY_IMPLEMENT_MAIN(
-    ExampleTessellation
-    , "41-tess"
-    , "Adaptive Gpu Tessellation."
-    , "https://bkaradzic.github.io/bgfx/examples.html#tess"
-    );
+	  ExampleTessellation
+	, "41-tess"
+	, "Adaptive Gpu Tessellation."
+	, "https://bkaradzic.github.io/bgfx/examples.html#tess"
+	);