slight improvement in shaded pattern
This commit is contained in:
parent
5ba97e9edf
commit
6d3fea4443
2
balls.c
2
balls.c
@ -503,7 +503,7 @@ struct ball_face * new_ball_face(unsigned int radius, cairo_surface_t * face, in
|
|||||||
} else {
|
} else {
|
||||||
cairo_pattern_t *pat;
|
cairo_pattern_t *pat;
|
||||||
pat = cairo_pattern_create_radial (-0.2*radius, -0.2*radius, 0.2*radius,
|
pat = cairo_pattern_create_radial (-0.2*radius, -0.2*radius, 0.2*radius,
|
||||||
-0.2*radius, -0.2*radius, 1.2*radius);
|
-0.2*radius, -0.2*radius, 1.3*radius);
|
||||||
double col_r = random_color_component();
|
double col_r = random_color_component();
|
||||||
double col_g = random_color_component();
|
double col_g = random_color_component();
|
||||||
double col_b = random_color_component();
|
double col_b = random_color_component();
|
||||||
|
Loading…
Reference in New Issue
Block a user