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

Method addTet

Utils/IndexedTetMesh.cpp:41–45  ·  view source on GitHub ↗

Add a new tet. Indices must be an array of size 4. */

Source from the content-addressed store, hash-verified

39/** Add a new tet. Indices must be an array of size 4.
40 */
41void IndexedTetMesh::addTet(const unsigned int * const indices)
42{
43 for (unsigned int i=0u; i < 4; i++)
44 m_tetIndices.push_back(indices[i]);
45}
46
47/** Add a new tet. Indices must be an array of size 4.
48 */

Callers 1

initMeshMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected