replaced all local definitions of PI by a single one
commit4799df55067d40be997a5c255af40a111daa86fb
authorChristophe CURIS <christophe.curis@free.fr>
Mon, 8 Dec 2014 21:42:36 +0000 (8 22:42 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Wed, 10 Dec 2014 10:19:19 +0000 (10 10:19 +0000)
tree31e51d70a35b127d391a8a9c214bcb0d7b3c9d39
parent723f2173555bde7ee3a131a86619b7ed2d49bc4e
replaced all local definitions of PI by a single one

For code maintainability, it is better to have a single definition of the
constant than many ones dispatched in many places. In addition, we try to
count on the constant M_PI that can be defined by the header <math.h> if
possible because it may have the best accuracy for the platform.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
WINGs/wcolorpanel.c
m4/wm_libmath.m4
src/wconfig.h.in
wrlib/rotate.c
wrlib/scale.c