summaryrefslogtreecommitdiff
path: root/apps/plugins/cube.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/cube.c')
-rw-r--r--apps/plugins/cube.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/plugins/cube.c b/apps/plugins/cube.c
index 55219e5a5e..c770214700 100644
--- a/apps/plugins/cube.c
+++ b/apps/plugins/cube.c
@@ -433,12 +433,12 @@ static void cube_rotate(int xa, int ya, int za)
433 /* Just to prevent unnecessary lookups */ 433 /* Just to prevent unnecessary lookups */
434 long sxa, cxa, sya, cya, sza, cza; 434 long sxa, cxa, sya, cya, sza, cza;
435 435
436 sxa = sin_int(xa); 436 sxa = fp14_sin(xa);
437 cxa = cos_int(xa); 437 cxa = fp14_cos(xa);
438 sya = sin_int(ya); 438 sya = fp14_sin(ya);
439 cya = cos_int(ya); 439 cya = fp14_cos(ya);
440 sza = sin_int(za); 440 sza = fp14_sin(za);
441 cza = cos_int(za); 441 cza = fp14_cos(za);
442 442
443 /* calculate overall translation matrix */ 443 /* calculate overall translation matrix */
444 matrice[0][0] = (cza * cya) >> 14; 444 matrice[0][0] = (cza * cya) >> 14;