Ignore:
Timestamp:
Mar 15, 2006, 11:03:04 AM (15 years ago)
Author:
Sam Hocevar
Message:
  • Minor coding style fixes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/cacaball.c

    r597 r613  
    166166        for(x = 0; x < METASIZE; x++)
    167167    {
    168         distance = ((METASIZE/2) - x) * ((METASIZE/2) - x)
     168        distance = ((METASIZE/2) - x) * ((METASIZE/2) - x)
    169169                 + ((METASIZE/2) - y) * ((METASIZE/2) - y);
    170170        distance = sqrt(distance) * 64 / METASIZE;
    171         metaball[x + y * METASIZE] = distance > 15 ? 0 : (255 - distance) * 15;
     171        metaball[x + y * METASIZE] = distance > 15 ? 0 : (255 - distance) * 15;
    172172    }
    173173}
Note: See TracChangeset for help on using the changeset viewer.