diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2004-07-07 02:25:14 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2004-07-07 02:25:14 +0400 |
commit | 2388cada013f66370d912c8a7039cfaf3cc1ff07 (patch) | |
tree | fc539db79d2d737c16f7d1212a49879de9e5414a /source/blender/src/sequence.c | |
parent | 9c94728d893655d378004a5c39d9c5b51da07259 (diff) |
Fix compile error: the 'log' function takes only one parameter: changed
log(xo, 2) to log(xo)/log(2).
Diffstat (limited to 'source/blender/src/sequence.c')
-rw-r--r-- | source/blender/src/sequence.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/sequence.c b/source/blender/src/sequence.c index 39c23f1cf78..48e84f32c82 100644 --- a/source/blender/src/sequence.c +++ b/source/blender/src/sequence.c @@ -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){ |