| 6 | using namespace PyMesh; |
| 7 | |
| 8 | void VertexIndexAttribute::compute_from_mesh(Mesh& mesh) { |
| 9 | const size_t num_vertices = mesh.get_num_vertices(); |
| 10 | VectorF& indices = m_values; |
| 11 | indices = VectorF::LinSpaced(num_vertices, 0, num_vertices-1); |
| 12 | } |
nothing calls this directly
no test coverage detected