| # | Line 5 | Line 5 | static const char RCSid[] = "$Id$"; | |
|---|---|---|
| 5 | * Routines to do the actual calculation for mkillum | |
| 6 | */ | |
| 7 | ||
| 8 | + | #include <string.h> |
| 9 | + | |
| 10 | #include "mkillum.h" | |
| 11 | #include "face.h" | |
| 12 | #include "cone.h" | |
| # | Line 297 | Line 299 | register struct rtproc *rt; | |
| 299 | ||
| 300 | if (rt->nrays <= 0) | |
| 301 | return; | |
| 302 | < | bzero(rt->buf+6*rt->nrays, 6*sizeof(float)); |
| 302 | > | memset(rt->buf+6*rt->nrays, '\0', 6*sizeof(float)); |
| 303 | errno = 0; | |
| 304 | if ( process(&(rt->pd), (char *)rt->buf, (char *)rt->buf, | |
| 305 | 3*sizeof(float)*(rt->nrays+1), | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |