| # | Line 15 | Line 15 | double RealSphericalHarmonic::getValueAt(double costhe | |
|---|---|---|
| 15 | // associated Legendre polynomial | |
| 16 | p = LegendreP(L,M,costheta); | |
| 17 | ||
| 18 | < | if (functionType == SH_SIN) { |
| 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 |