SceneDiffer: fix compiler warning: unused function.
parent
58af9efdc9
commit
7bb59004c3
|
@ -145,11 +145,11 @@ static std::string dumpVector3( const aiVector3D &toDump ) {
|
||||||
return stream.str();
|
return stream.str();
|
||||||
}
|
}
|
||||||
|
|
||||||
static std::string dumpColor4D( const aiColor4D &toDump ) {
|
/*static std::string dumpColor4D( const aiColor4D &toDump ) {
|
||||||
std::stringstream stream;
|
std::stringstream stream;
|
||||||
stream << "( " << toDump.r << ", " << toDump.g << ", " << toDump.b << ", " << toDump.a << ")";
|
stream << "( " << toDump.r << ", " << toDump.g << ", " << toDump.b << ", " << toDump.a << ")";
|
||||||
return stream.str();
|
return stream.str();
|
||||||
}
|
}*/
|
||||||
|
|
||||||
static std::string dumpFace( const aiFace &face ) {
|
static std::string dumpFace( const aiFace &face ) {
|
||||||
std::stringstream stream;
|
std::stringstream stream;
|
||||||
|
@ -218,8 +218,8 @@ bool SceneDiffer::compareMesh( aiMesh *expected, aiMesh *toCompare ) {
|
||||||
// return true;
|
// return true;
|
||||||
|
|
||||||
//ToDo!
|
//ToDo!
|
||||||
bool normalEqual( true );
|
/*bool normalEqual( true );
|
||||||
/* for ( unsigned int i = 0; i < expected->mNumVertices; i++ ) {
|
for ( unsigned int i = 0; i < expected->mNumVertices; i++ ) {
|
||||||
aiVector3D &expNormal( expected->mNormals[ i ] );
|
aiVector3D &expNormal( expected->mNormals[ i ] );
|
||||||
aiVector3D &toCompNormal( toCompare->mNormals[ i ] );
|
aiVector3D &toCompNormal( toCompare->mNormals[ i ] );
|
||||||
if ( expNormal.Equal( toCompNormal ) ) {
|
if ( expNormal.Equal( toCompNormal ) ) {
|
||||||
|
@ -370,4 +370,4 @@ bool SceneDiffer::compareMaterial( aiMaterial *expected, aiMaterial *toCompare )
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue