Got rid of use of log2 which doesnt exist on older msvc

This commit is contained in:
clayton.otey@gmail.com 2010-06-08 01:06:03 +00:00
parent 60faec3b24
commit 3e44c2d3b9
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ inline double HalfStepsToPercentChange(double halfSteps)
inline double PercentChangeToHalfSteps(double percentChange)
{
return 12.0 * log2(PercentChangeToRatio(percentChange));
return 17.312340490667560888319096172023 * log(PercentChangeToRatio(percentChange));
}
bool EffectTimeScale::Process()