Changeset 613 for libcaca/trunk
- Timestamp:
- Mar 15, 2006, 11:03:04 AM (15 years ago)
- Location:
- libcaca/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/caca/driver_gl.c
r582 r613 105 105 106 106 geometry = getenv("CACA_GEOMETRY"); 107 if(geometry && * (geometry))107 if(geometry && *geometry) 108 108 sscanf(geometry, "%ux%u", &width, &height); 109 109 -
libcaca/trunk/caca/driver_ncurses.c
r582 r613 412 412 sigwinch_kk->resize.resized = 1; 413 413 414 signal(SIGWINCH, sigwinch_handler); ;414 signal(SIGWINCH, sigwinch_handler); 415 415 } 416 416 #endif -
libcaca/trunk/caca/driver_x11.c
r582 r613 94 94 95 95 geometry = getenv("CACA_GEOMETRY"); 96 if(geometry && * (geometry))96 if(geometry && *geometry) 97 97 sscanf(geometry, "%ux%u", &width, &height); 98 98 -
libcaca/trunk/src/cacaball.c
r597 r613 166 166 for(x = 0; x < METASIZE; x++) 167 167 { 168 168 distance = ((METASIZE/2) - x) * ((METASIZE/2) - x) 169 169 + ((METASIZE/2) - y) * ((METASIZE/2) - y); 170 170 distance = sqrt(distance) * 64 / METASIZE; 171 171 metaball[x + y * METASIZE] = distance > 15 ? 0 : (255 - distance) * 15; 172 172 } 173 173 }
Note: See TracChangeset
for help on using the changeset viewer.