| 210 | } |
| 211 | |
| 212 | void DumpIfcGeometryToPath(const webifc::geometry::IfcGeometry &geom, std::string path, double inputScale) |
| 213 | { |
| 214 | size_t offset = 0; |
| 215 | std::ofstream out(path.c_str()); |
| 216 | out << ToObj(geom, offset, glm::dmat4(1), inputScale); |
| 217 | } |
| 218 | |
| 219 | std::string ToObj(webifc::geometry::IfcGeometry &geom, size_t &offset, glm::dmat4 transform) |
| 220 | { |