| 87 | } |
| 88 | |
| 89 | void DumpSVGCurve(std::vector<glm::dvec3> points, std::string filename, std::vector<uint32_t> indices) |
| 90 | { |
| 91 | std::vector<glm::dvec2> points2D; |
| 92 | for (auto &pt : points) |
| 93 | { |
| 94 | points2D.emplace_back(pt.x, pt.z); |
| 95 | } |
| 96 | writeFile(filename, makeSVGLines(points2D, indices)); |
| 97 | } |
| 98 | |
| 99 | void svgMakeLine(glm::dvec2 a, glm::dvec2 b, std::stringstream &svg, std::string col) |
| 100 | { |
nothing calls this directly
no test coverage detected