WRaster: Changed formula for reconverting angle to the (0-360) bounds
commit7bf8efef5423a45f8cb3ffabeeb2754188460a44
authorChristophe CURIS <christophe.curis@free.fr>
Sun, 16 Jun 2013 19:51:02 +0000 (16 21:51 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Mon, 17 Jun 2013 00:54:06 +0000 (17 01:54 +0100)
treec4898b7e0d2deb4c429dda0d82b39df6bbfadef8
parente9764aab71835608054589013957635c0e0616e4
WRaster: Changed formula for reconverting angle to the (0-360) bounds

There is a dedicaded floating point modulo operator that does a
better job (faster, no precision loss), so we use it instead of the
complicated formula that uses type conversions.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
wrlib/rotate.c