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

Method clear

splashsurf_lib/src/mesh.rs:752–755  ·  view source on GitHub ↗

Clears the vertex and triangle storage, preserves allocated memory

(&mut self)

Source from the content-addressed store, hash-verified

750
751 /// Clears the vertex and triangle storage, preserves allocated memory
752 pub fn clear(&mut self) {
753 self.vertices.clear();
754 self.triangles.clear();
755 }
756
757 /// Appends the other mesh to this mesh
758 ///

Calls

no outgoing calls

Tested by

no test coverage detected