- Ifc: enable double-precision arithmetics for the entire pipeline. This does fix bugs, but unfortunately not all if them.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1143 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -325,7 +325,10 @@ void SetCoordinateSpace(ConversionData& conv)
|
||||
void ResolveObjectPlacement(aiMatrix4x4& m, const IfcObjectPlacement& place, ConversionData& conv)
|
||||
{
|
||||
if (const IfcLocalPlacement* const local = place.ToPtr<IfcLocalPlacement>()){
|
||||
ConvertAxisPlacement(m, *local->RelativePlacement, conv);
|
||||
IfcMatrix4 tmp;
|
||||
ConvertAxisPlacement(tmp, *local->RelativePlacement, conv);
|
||||
|
||||
m = static_cast<aiMatrix4x4>(tmp);
|
||||
|
||||
if (local->PlacementRelTo) {
|
||||
aiMatrix4x4 tmp;
|
||||
|
||||
Reference in New Issue
Block a user