# | Line 14 | Line 14 | double RealSphericalHarmonic::getValueAt(double costhe | |
---|---|---|
14 | ||
15 | // associated Legendre polynomial | |
16 | p = LegendreP(L,M,costheta); | |
17 | < | |
18 | < | if (functionType == SH_SIN) { |
17 | > | |
18 | > | if (functionType == RSH_SIN) { |
19 | phase = sin((double)M * phi); | |
20 | } else { | |
21 | phase = cos((double)M * phi); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |