Fix compile error: the 'log' function takes only one parameter: changed

log(xo, 2) to log(xo)/log(2).
This commit is contained in:
2004-07-06 22:25:14 +00:00
parent 9c94728d89
commit 2388cada01

View File

@@ -1001,7 +1001,7 @@ float check_zone(int x, int y, int xo, int yo, Sequence *seq, float facf0) {
x = xo-x;
//y = yo-y
}
angle = pow(fabs(angle)/45,log(xo,2));
angle = pow(fabs(angle)/45,log(xo)/log(2));
posy = facf0 * yo;
if(sweep->forward){