# | Line 56 | Line 56 | namespace oopse { | |
---|---|---|
56 | } | |
57 | ||
58 | double LegendreCorrFunc::calcCorrVal(int frame1, int frame2, StuntDouble* sd1, StuntDouble* sd2) { | |
59 | < | Vector3d v1 =sd1->getElectroFrame().getColumn(2); |
60 | < | Vector3d v2 = sd2->getElectroFrame().getColumn(2); |
59 | > | Vector3d v1 =sd1->getElectroFrame(frame1).getColumn(2); |
60 | > | Vector3d v2 = sd2->getElectroFrame(frame2).getColumn(2); |
61 | ||
62 | return legendre_.evaluate(dot(v1, v2)); | |
63 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |