57 |
template<class T> void render(const T &coords1) const { |
template<class T> void render(const T &coords1) const { |
58 |
vector<ZPt> pts; |
vector<ZPt> pts; |
59 |
for (unsigned int i=0; i+2<points.size(); i+=3) { |
for (unsigned int i=0; i+2<points.size(); i+=3) { |
|
std::cout << "render: in: " << points[i] << ", " << points[i+1] << "\n"; |
|
60 |
ZPt p = coords1.transform( ZPt(points[i], points[i+1], points[i+2]) ); |
ZPt p = coords1.transform( ZPt(points[i], points[i+1], points[i+2]) ); |
|
std::cout << "render: out: " << p.x << ", " << p.y << "\n"; |
|
61 |
pts.push_back(p); |
pts.push_back(p); |
62 |
} |
} |
63 |
|
|