mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 17:10:11 +01:00
mesa: atan2f and powf need two args.
This commit is contained in:
parent
443a7e4e9a
commit
68f602afb1
1 changed files with 2 additions and 2 deletions
|
|
@ -124,7 +124,7 @@ typedef union { GLfloat f; GLint i; } fi_type;
|
|||
&& (!defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L))
|
||||
#define acosf(f) ((float) acos(f))
|
||||
#define asinf(f) ((float) asin(f))
|
||||
#define atan2f(f) ((float) atan2(f))
|
||||
#define atan2f(x,y) ((float) atan2(x,y))
|
||||
#define atanf(f) ((float) atan(f))
|
||||
#define cielf(f) ((float) ciel(f))
|
||||
#define cosf(f) ((float) cos(f))
|
||||
|
|
@ -134,7 +134,7 @@ typedef union { GLfloat f; GLint i; } fi_type;
|
|||
#define floorf(f) ((float) floor(f))
|
||||
#define logf(f) ((float) log(f))
|
||||
#define log2f(f) ((float) log2(f))
|
||||
#define powf(f) ((float) pow(f))
|
||||
#define powf(x,y) ((float) pow(x,y))
|
||||
#define sinf(f) ((float) sin(f))
|
||||
#define sinhf(f) ((float) sinh(f))
|
||||
#define sqrtf(f) ((float) sqrt(f))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue