- IFC: directly keep a pointer to the class name in STEP::Object. This avoid hacking around with typeid().name(), which yields platform-dependent results.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@992 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
aramis_acg
2011-05-08 20:08:28 +00:00
parent 27ee419355
commit 95e0148f95
5 changed files with 420 additions and 421 deletions

View File

@@ -287,7 +287,7 @@ void IFCImporter::InternReadFile( const std::string& pFile,
conv.materials.clear();
}
// apply world coordinate system (which includes the scaling to convert to metres and a -90 degrees rotation around x)
// apply world coordinate system (which includes the scaling to convert to meters and a -90 degrees rotation around x)
aiMatrix4x4 scale, rot;
aiMatrix4x4::Scaling(aiVector3D(conv.len_scale,conv.len_scale,conv.len_scale),scale);
aiMatrix4x4::RotationX(-AI_MATH_HALF_PI_F,rot);