From 7bb59004c36f044bfbe3d3679ba6dedae7ad585b Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Sat, 31 Dec 2016 16:14:06 +0100 Subject: [PATCH] SceneDiffer: fix compiler warning: unused function. --- test/unit/SceneDiffer.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/unit/SceneDiffer.cpp b/test/unit/SceneDiffer.cpp index a874bd28c..14edeaa5c 100644 --- a/test/unit/SceneDiffer.cpp +++ b/test/unit/SceneDiffer.cpp @@ -145,11 +145,11 @@ static std::string dumpVector3( const aiVector3D &toDump ) { return stream.str(); } -static std::string dumpColor4D( const aiColor4D &toDump ) { +/*static std::string dumpColor4D( const aiColor4D &toDump ) { std::stringstream stream; stream << "( " << toDump.r << ", " << toDump.g << ", " << toDump.b << ", " << toDump.a << ")"; return stream.str(); -} +}*/ static std::string dumpFace( const aiFace &face ) { std::stringstream stream; @@ -218,8 +218,8 @@ bool SceneDiffer::compareMesh( aiMesh *expected, aiMesh *toCompare ) { // return true; //ToDo! - bool normalEqual( true ); - /* for ( unsigned int i = 0; i < expected->mNumVertices; i++ ) { + /*bool normalEqual( true ); + for ( unsigned int i = 0; i < expected->mNumVertices; i++ ) { aiVector3D &expNormal( expected->mNormals[ i ] ); aiVector3D &toCompNormal( toCompare->mNormals[ i ] ); if ( expNormal.Equal( toCompNormal ) ) { @@ -370,4 +370,4 @@ bool SceneDiffer::compareMaterial( aiMaterial *expected, aiMaterial *toCompare ) return true; } -} \ No newline at end of file +}