MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / destroy

Method destroy

testbed/opengl-framework/src/Mesh.cpp:44–53  ·  view source on GitHub ↗

Destroy the mesh

Source from the content-addressed store, hash-verified

42
43// Destroy the mesh
44void Mesh::destroy() {
45
46 mVertices.clear();
47 mNormals.clear();
48 mTangents.clear();
49 mIndices.clear();
50 mColors.clear();
51 mUVs.clear();
52 mTextures.clear();
53}
54
55// Compute the normals of the mesh
56void Mesh::calculateNormals() {

Callers 1

loadOBJFileMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected