From 44669573cee0576ecc3088096c1c7e9cf2747ffd Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Thu, 11 Sep 2014 05:52:43 +0200 Subject: [PATCH] Minor fixes --- src/omv/img/fmath.c | 8 ++++---- src/omv/img/fmath.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/omv/img/fmath.c b/src/omv/img/fmath.c index b3078d6bf..1eab218e0 100644 --- a/src/omv/img/fmath.c +++ b/src/omv/img/fmath.c @@ -6,10 +6,10 @@ #define M_PI_4 0.78539816f const float __atanf_lut[4] = { - -0.0443265554792128, //p7 - -0.3258083974640975, //p3 - +0.1555786518463281, //p5 - +0.9997878412794807 //p1 + -0.0443265554792128f, //p7 + -0.3258083974640975f, //p3 + +0.1555786518463281f, //p5 + +0.9997878412794807f //p1 }; float ALWAYS_INLINE fast_sqrtf(float x) diff --git a/src/omv/img/fmath.h b/src/omv/img/fmath.h index 9486a00b3..a292aaf32 100644 --- a/src/omv/img/fmath.h +++ b/src/omv/img/fmath.h @@ -6,7 +6,7 @@ int fast_floorf(float x); int fast_ceilf(float x); int fast_roundf(float x); float fast_atanf(float x); -float fast_atan2f(float x, float y); +float fast_atan2f(float y, float x); float fast_expf(float x); float fast_cbrtf(float d); float fast_fabsf(float d);