MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/splashsurf / vertices_mut

Method vertices_mut

splashsurf_lib/src/mesh.rs:222–227  ·  view source on GitHub ↗

Returns a mutable reference to the vertex indices of this cell

(&mut self)

Source from the content-addressed store, hash-verified

220
221 /// Returns a mutable reference to the vertex indices of this cell
222 fn vertices_mut(&mut self) -> &mut [usize] {
223 match self {
224 TriangleOrQuadCell::Tri(v) => v,
225 TriangleOrQuadCell::Quad(v) => v,
226 }
227 }
228}
229
230/// A surface mesh in 3D containing cells representing either triangles or quadrilaterals

Callers 2

par_clamp_with_aabbMethod · 0.80
keep_cells_implFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected