# | Line 125 | Line 125 | void LipidTransVisitor::internalVisit(StuntDouble *sd) | |
---|---|---|
125 | for( atomInfo = atomData->beginAtomInfo(i); atomInfo; atomInfo = atomData->nextAtomInfo(i) ) { | |
126 | ||
127 | Vector3d tmp= atomInfo->pos - origin_; | |
128 | < | atomInfo->pos = rotMat_ * tmp - origin_;; |
128 | > | currSnapshot->wrapVector(tmp); |
129 | > | atomInfo->pos = rotMat_ * tmp;; |
130 | atomInfo->dipole = rotMat_ * atomInfo->dipole; | |
131 | } | |
132 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |