# | Line 54 | Line 54 | namespace oopse { | |
---|---|---|
54 | Vector3d r1 =sd1->getPos(frame1); | |
55 | Vector3d r2 = sd2->getPos(frame2); | |
56 | ||
57 | < | return dot(r1, r2); |
57 | > | return (r2-r1).lengthSquare(); |
58 | } | |
59 | ||
60 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |