Searched refs:FIXED_FROM_FLOAT (Results 1 – 2 of 2) sorted by relevance
61 #define FIXED_FROM_FLOAT(x) ((Fixed)((x)*FIXED_ONE)) macro106 angle_sin_tab[nn] = FIXED_FROM_FLOAT(sin(radians)); in init_angles()190 Fixed yt1 = FIXED_FROM_FLOAT(t/1230.); in fill_plasma()192 Fixed xt10 = FIXED_FROM_FLOAT(t/3000.); in fill_plasma()195 #define YT1_INCR FIXED_FROM_FLOAT(1/100.) in fill_plasma()196 #define YT2_INCR FIXED_FROM_FLOAT(1/163.) in fill_plasma()208 #define XT1_INCR FIXED_FROM_FLOAT(1/173.) in fill_plasma()209 #define XT2_INCR FIXED_FROM_FLOAT(1/242.) in fill_plasma()
66 #define FIXED_FROM_FLOAT(x) ((Fixed)((x)*FIXED_ONE)) macro111 angle_sin_tab[nn] = FIXED_FROM_FLOAT(sin(radians)); in init_angles()195 Fixed yt1 = FIXED_FROM_FLOAT(t/1230.); in fill_plasma()197 Fixed xt10 = FIXED_FROM_FLOAT(t/3000.); in fill_plasma()200 #define YT1_INCR FIXED_FROM_FLOAT(1/100.) in fill_plasma()201 #define YT2_INCR FIXED_FROM_FLOAT(1/163.) in fill_plasma()217 #define XT1_INCR FIXED_FROM_FLOAT(1/173.) in fill_plasma()218 #define XT2_INCR FIXED_FROM_FLOAT(1/242.) in fill_plasma()