--- trunk/src/math/RealSphericalHarmonic.cpp 2004/10/26 22:25:02 158 +++ trunk/src/math/RealSphericalHarmonic.cpp 2004/10/29 22:28:45 195 @@ -14,7 +14,7 @@ double RealSphericalHarmonic::getValueAt(double costhe // associated Legendre polynomial p = LegendreP(L,M,costheta); - + if (functionType == RSH_SIN) { phase = sin((double)M * phi); } else {