--- trunk/src/math/RealSphericalHarmonic.cpp 2004/10/18 16:30:04 98 +++ trunk/src/math/RealSphericalHarmonic.cpp 2004/10/29 22:28:45 195 @@ -14,8 +14,8 @@ double RealSphericalHarmonic::getValueAt(double costhe // associated Legendre polynomial p = LegendreP(L,M,costheta); - - if (functionType == SH_SIN) { + + if (functionType == RSH_SIN) { phase = sin((double)M * phi); } else { phase = cos((double)M * phi);