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

Function release

Simulation/ParticleData.h:293–303  ·  view source on GitHub ↗

Release the array containing the particle data. */

Source from the content-addressed store, hash-verified

291 /** Release the array containing the particle data.
292 */
293 FORCE_INLINE void release()
294 {
295 m_masses.clear();
296 m_invMasses.clear();
297 m_x0.clear();
298 m_x.clear();
299 m_v.clear();
300 m_a.clear();
301 m_oldX.clear();
302 m_lastX.clear();
303 }
304
305 /** Release the array containing the particle data.
306 */

Callers 2

~IndexedTetMeshMethod · 0.50
~IndexedFaceMeshMethod · 0.50

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected