# | Line 58 | Line 58 | namespace oopse { | |
---|---|---|
58 | } | |
59 | ||
60 | void MoLocator::placeMol( const Vector3d& offset, const Vector3d& ort, Molecule* mol){ | |
61 | + | |
62 | Vector3d newCoor; | |
63 | Vector3d curRefCoor; | |
64 | RotMat3x3d rotMat = latVec2RotMat(ort); | |
# | Line 78 | Line 79 | namespace oopse { | |
79 | ||
80 | newCoor = rotMat * refCoords[i]; | |
81 | newCoor += offset; | |
82 | < | |
83 | < | integrableObject->setPos( newCoor); |
82 | > | |
83 | > | integrableObject->setPos(newCoor); |
84 | integrableObject->setVel(V3Zero); | |
85 | ||
86 | if(integrableObject->isDirectional()){ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |