|
@@ -128,7 +128,7 @@ void ProcessParametrizedProfile(const IfcParameterizedProfileDef& def, TempMesh&
|
|
meshout.verts.push_back( IfcVector3( std::cos(angle)*radius, std::sin(angle)*radius, 0.f ));
|
|
meshout.verts.push_back( IfcVector3( std::cos(angle)*radius, std::sin(angle)*radius, 0.f ));
|
|
}
|
|
}
|
|
|
|
|
|
- meshout.vertcnt.push_back(segments);
|
|
|
|
|
|
+ meshout.vertcnt.push_back(static_cast<unsigned int>(segments));
|
|
}
|
|
}
|
|
else if( const IfcIShapeProfileDef* const ishape = def.ToPtr<IfcIShapeProfileDef>()) {
|
|
else if( const IfcIShapeProfileDef* const ishape = def.ToPtr<IfcIShapeProfileDef>()) {
|
|
// construct simplified IBeam shape
|
|
// construct simplified IBeam shape
|