forked from bartvdbraak/blender
declare round() and copysign() when on windows. Implementations for them already where in math_base.c
This commit is contained in:
parent
b97ad119b9
commit
d9bca3d491
@ -171,6 +171,11 @@ MINLINE float power_of_2(float f);
|
|||||||
|
|
||||||
MINLINE float shell_angle_to_dist(float angle);
|
MINLINE float shell_angle_to_dist(float angle);
|
||||||
|
|
||||||
|
#if (defined(WIN32) || defined(WIN64)) && !defined(FREE_WINDOWS)
|
||||||
|
double copysign(double x, double y);
|
||||||
|
double round(double x);
|
||||||
|
#endif
|
||||||
|
|
||||||
double double_round(double x, int ndigits);
|
double double_round(double x, int ndigits);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
Loading…
Reference in New Issue
Block a user