Searched refs:SHADING_STEPS (Results 1 – 1 of 1) sorted by relevance
67 #define SHADING_STEPS 256 macro143 uint32_t rgb_array[SHADING_STEPS]; in DrawAxialShading()144 for (int i = 0; i < SHADING_STEPS; i++) { in DrawAxialShading()145 float input = (t_max - t_min) * i / SHADING_STEPS + t_min; in DrawAxialShading()172 int index = (int32_t)(scale * (SHADING_STEPS - 1)); in DrawAxialShading()178 } else if (index >= SHADING_STEPS) { in DrawAxialShading()182 index = SHADING_STEPS - 1; in DrawAxialShading()225 uint32_t rgb_array[SHADING_STEPS]; in DrawRadialShading()226 for (int i = 0; i < SHADING_STEPS; i++) { in DrawRadialShading()227 float input = (t_max - t_min) * i / SHADING_STEPS + t_min; in DrawRadialShading()[all …]