MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / addFace

Method addFace

Utils/IndexedFaceMesh.cpp:91–95  ·  view source on GitHub ↗

Add a new face. Indices must be an array of size m_verticesPerFace. */

Source from the content-addressed store, hash-verified

89/** Add a new face. Indices must be an array of size m_verticesPerFace.
90 */
91void IndexedFaceMesh::addFace(const unsigned int * const indices)
92{
93 for (unsigned int i=0u; i < m_verticesPerFace; i++)
94 m_indices.push_back(indices[i]);
95}
96
97/** Add a new face. Indices must be an array of size m_verticesPerFace.
98 */

Callers 5

UtilitiesModuleFunction · 0.80
initMeshMethod · 0.80
initMeshMethod · 0.80
createSurfaceMeshMethod · 0.80
loadMeshMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected