|
Wildmeshing Toolkit
|
Per-thread buffers for the coarsening composite, so it allocates nothing. More...
Public Attributes | |
| std::vector< size_t > | ring |
| std::vector< size_t > | frontier |
| std::vector< size_t > | next |
| std::vector< size_t > | one_ring |
| std::vector< uint32_t > | stamp |
| uint32_t | epoch = 0 |
| VertexAttributes | saved_vertex |
| std::vector< std::pair< size_t, double > > | saved_qualities |
Per-thread buffers for the coarsening composite, so it allocates nothing.
saved holds one vertex's attributes and the quality of its incident faces, which is everything an individual smooth writes – smooth_vertex_2d returns false only after having written both, deliberately (see its contract), so a rejected smooth has to be undone by its caller.