Searched defs:BORDER (Results 1 - 1 of 1) sorted by relevance

/solaris-x11-s11/open-src/app/xlock/sun-src/
H A Dswarm.c55 #define BORDER 50 /* wasp won't go closer than this to the edge */ macro
117 sp->wx[0] = BORDER + random() % (sp->width - 2 * BORDER);
118 sp->wy[0] = BORDER + random() % (sp->height - 2 * BORDER);
169 if ((sp->wx[0] < BORDER) || (sp->wx[0] > sp->width - BORDER - 1)) {
173 if ((sp->wy[0] < BORDER) || (sp->wy[0] > sp->height - BORDER - 1)) {

Completed in 7 milliseconds