Closed Schoyen closed 1 year ago
The getPosition-function in Particle returned a copy of the position-vector. I have now made the class return a reference to the positions.
getPosition
Particle
The
getPosition
-function inParticle
returned a copy of the position-vector. I have now made the class return a reference to the positions.