diff options
author | Marat Dukhan <maratek@gmail.com> | 2015-06-02 06:38:40 +0300 |
---|---|---|
committer | Marat Dukhan <maratek@gmail.com> | 2015-06-02 06:38:40 +0300 |
commit | f9ca80c3fb62cfc11b2504e004805caa431dcfb2 (patch) | |
tree | 84467389e7c7b0023f079d987832aee9577f27c7 /generic | |
parent | 3bfddde25ee41f9f3abf67faa77433af0a6aeff4 (diff) |
Use sinf and cosf instead of non-standard sincosf
Diffstat (limited to 'generic')
-rwxr-xr-x | generic/image.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/image.c b/generic/image.c index aef35ff..27469ab 100755 --- a/generic/image.c +++ b/generic/image.c @@ -303,7 +303,8 @@ static int image_(Main_rotate)(lua_State *L) xc=src_width/2.0; yc=src_height/2.0; - sincosf(theta, &sin_theta, &cos_theta); + sin_theta = sinf(theta); + cos_theta = cosf(theta); for(j = 0; j < dst_height; j++) { jd=j; |