# | Line 118 | Line 118 | namespace OpenMD { | |
---|---|---|
118 | } | |
119 | ||
120 | ||
121 | < | inline void Snapshot::wrapVector(Vector3d& pos) { |
121 | > | void Snapshot::wrapVector(Vector3d& pos) { |
122 | ||
123 | Vector3d scaled = scaleVector(pos); | |
124 | < | |
124 | > | |
125 | for (int i = 0; i < 3; i++) | |
126 | scaled[i] -= roundMe(scaled[i]); | |
127 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |