ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/src/applications/dynamicProps/RCorrFunc.cpp
(Generate patch)

Comparing trunk/OOPSE-3.0/src/applications/dynamicProps/RCorrFunc.cpp (file contents):
Revision 2037 by tim, Wed Feb 16 19:36:30 2005 UTC vs.
Revision 2053 by tim, Fri Feb 18 23:07:32 2005 UTC

# Line 54 | Line 54 | double RCorrFunc::calcCorrVal(int frame1, int frame2,
54      Vector3d r1 =sd1->getPos(frame1);
55      Vector3d r2 = sd2->getPos(frame2);
56  
57 <    return (r1-r2).lengthSquare();
57 >    return (r2-r1).lengthSquare();
58   }
59  
60   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines