FBX-Importer: put debug printf into comments.
parent
76e4e82ecb
commit
ca0fa2ba69
|
@ -655,13 +655,13 @@ void ParseVectorDataArray(std::vector<aiVector3D>& out, const Element& el)
|
||||||
static_cast<float>(d[1]),
|
static_cast<float>(d[1]),
|
||||||
static_cast<float>(d[2])));
|
static_cast<float>(d[2])));
|
||||||
}
|
}
|
||||||
|
// for debugging
|
||||||
for ( size_t i = 0; i < out.size(); i++ ) {
|
/*for ( size_t i = 0; i < out.size(); i++ ) {
|
||||||
aiVector3D vec3( out[ i ] );
|
aiVector3D vec3( out[ i ] );
|
||||||
std::stringstream stream;
|
std::stringstream stream;
|
||||||
stream << " vec3.x = " << vec3.x << " vec3.y = " << vec3.y << " vec3.z = " << vec3.z << std::endl;
|
stream << " vec3.x = " << vec3.x << " vec3.y = " << vec3.y << " vec3.z = " << vec3.z << std::endl;
|
||||||
DefaultLogger::get()->info( stream.str() );
|
DefaultLogger::get()->info( stream.str() );
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
else if (type == 'f') {
|
else if (type == 'f') {
|
||||||
const float* f = reinterpret_cast<const float*>(&buff[0]);
|
const float* f = reinterpret_cast<const float*>(&buff[0]);
|
||||||
|
|
Loading…
Reference in New Issue