Searched refs:SHADING_STEPS (Results 1 – 1 of 1) sorted by relevance
14 #define SHADING_STEPS 256 macro63 FX_DWORD rgb_array[SHADING_STEPS]; in DrawAxialShading()64 for (int i = 0; i < SHADING_STEPS; i++) { in DrawAxialShading()65 FX_FLOAT input = (t_max - t_min) * i / SHADING_STEPS + t_min; in DrawAxialShading()90 int index = (int32_t)(scale * (SHADING_STEPS - 1)); in DrawAxialShading()96 } else if (index >= SHADING_STEPS) { in DrawAxialShading()100 index = SHADING_STEPS - 1; in DrawAxialShading()150 FX_DWORD rgb_array[SHADING_STEPS]; in DrawRadialShading()151 for (int i = 0; i < SHADING_STEPS; i++) { in DrawRadialShading()152 FX_FLOAT input = (t_max - t_min) * i / SHADING_STEPS + t_min; in DrawRadialShading()[all …]