Extract current vertex data as LineVertex array.
- Returns
- Vector of LineVertex with current positions, colors, thicknesses
Definition at line 147 of file PathOperator.cpp.
148{
149 std::vector<LineVertex> positions;
150
151 for (
const auto& path :
m_paths) {
152 auto points = path->get_all_vertices();
153 for (
const auto& pt :
points) {
154 positions.push_back(pt);
155 }
156 }
157
158 return positions;
159}
std::vector< glm::vec2 > * points
std::vector< std::shared_ptr< GpuSync::PathGeneratorNode > > m_paths
References m_paths, and points.