addContour function
dynamic
addContour(
- dynamic vertices,
- dynamic contour
Implementation
addContour(vertices, contour) {
for (var i = 0; i < contour.length; i++) {
vertices.add(contour[i].x);
vertices.add(contour[i].y);
}
}