MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / reset

Method reset

3rd_party/Src/ode/ode/src/testing.cpp:124–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122
123
124void dMatrixComparison::reset()
125{
126 for (int i=0; i<mat.size(); i++) {
127 dFree (mat[i]->data,mat[i]->size);
128 dFree (mat[i],sizeof(dMatInfo));
129 }
130 mat.setSize (0);
131 afterfirst = 0;
132 index = 0;
133}
134
135
136void dMatrixComparison::dump()

Callers 1

dInternalStepIslandFunction · 0.45

Calls 3

dFreeFunction · 0.85
setSizeMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected