From 8da745534f151d2bc09f3b6a9f99dec75ded8780 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Thu, 28 Jan 2016 13:54:57 +0100 Subject: [PATCH] fix indentation issues --- Polyhedron/demo/Polyhedron/texture.cpp | 94 +++++++++++++------------- 1 file changed, 47 insertions(+), 47 deletions(-) diff --git a/Polyhedron/demo/Polyhedron/texture.cpp b/Polyhedron/demo/Polyhedron/texture.cpp index ae99232bbe7..d7623ed7c45 100644 --- a/Polyhedron/demo/Polyhedron/texture.cpp +++ b/Polyhedron/demo/Polyhedron/texture.cpp @@ -200,7 +200,7 @@ int Texture::BGRtoRGB() m_pData[m_WidthByte32*j+i*BytePerPixel+2] = m_pData[m_WidthByte32*j+i*BytePerPixel]; m_pData[m_WidthByte32*j+i*BytePerPixel] = pixel; } - return 1; + return 1; } ////////////////////////////////////////////// @@ -684,7 +684,7 @@ int Texture::ReadBuffer(float **ppBuffer, m_pData[m_WidthByte32*j + i*3+1] = (unsigned char)(ratio*ppBuffer[j][i]); m_pData[m_WidthByte32*j + i*3+2] = (unsigned char)(ratio*ppBuffer[j][i]); } - return 1; + return 1; } //******************************************** @@ -754,7 +754,7 @@ int Texture::ReadBuffer(double *buffer, m_pData[m_WidthByte32*j + i*BytePerPixel+2] = (unsigned char)buffer[width*j+i]; } - return 1; + return 1; } @@ -817,20 +817,20 @@ void Texture::GenerateMirrorV(unsigned int width, m_pData[m_WidthByte32*j + i*3+1] = g; m_pData[m_WidthByte32*j + i*3+2] = b; } - for(unsigned j=0;j