From 802743a061e01150db544c8e072cd794731b18a7 Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Sun, 5 Jul 2009 18:06:07 +0000 Subject: Take 2 at 'Consolidate all fixed point math routines in one library' (FS#10400) by Jeffrey Goode git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21664 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/bounce.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/plugins/bounce.c') diff --git a/apps/plugins/bounce.c b/apps/plugins/bounce.c index ee4c3e4..14bc7de 100644 --- a/apps/plugins/bounce.c +++ b/apps/plugins/bounce.c @@ -344,7 +344,7 @@ static void init_tables(void) phase = pfrac = 0; for (i = 0; i < TABLE_SIZE; i++) { - sin = fsincos(phase, NULL); + sin = fp_sincos(phase, NULL); xtable[i] = RADIUS_X + sin / DIV_X; ytable[i] = RADIUS_Y + sin / DIV_Y; @@ -411,7 +411,7 @@ static void init_clock(void) phase = pfrac = 0; for (i = 0; i < 60; i++) { - sin = fsincos(phase, &cos); + sin = fp_sincos(phase, &cos); xminute[i] = LCD_WIDTH/2 + sin / DIV_MX; yminute[i] = LCD_HEIGHT/2 - cos / DIV_MY; xhour[i] = LCD_WIDTH/2 + sin / DIV_HX; -- cgit v1.1