| 375 | } |
| 376 | |
| 377 | void ColladaSerializer::ColladaExporter::startDocument(const std::string& unit_name, float unit_magnitude) { |
| 378 | stream.startDocument(); |
| 379 | |
| 380 | COLLADASW::Asset asset(&stream); |
| 381 | asset.getContributor().mAuthoringTool = std::string("IfcOpenShell ") + IFCOPENSHELL_VERSION; |
| 382 | asset.setUnit(unit_name, unit_magnitude); |
| 383 | asset.setUpAxisType(COLLADASW::Asset::Z_UP); |
| 384 | asset.add(); |
| 385 | } |
| 386 | |
| 387 | void ColladaSerializer::ColladaExporter::write(const IfcGeom::TriangulationElement* o) |
| 388 | { |