| 1 |
– |
/* Copyright (c) 1996 Regents of the University of California */ |
| 2 |
– |
|
| 1 |
|
#ifndef lint |
| 2 |
< |
static char SCCSid[] = "$SunId$ LBL"; |
| 2 |
> |
static const char RCSid[] = "$Id$"; |
| 3 |
|
#endif |
| 6 |
– |
|
| 4 |
|
/* |
| 5 |
|
* Draw small sources into image in case we missed them. |
| 6 |
+ |
* |
| 7 |
+ |
* External symbols declared in ray.h |
| 8 |
|
*/ |
| 9 |
|
|
| 10 |
+ |
#include "copyright.h" |
| 11 |
+ |
|
| 12 |
|
#include "ray.h" |
| 13 |
|
|
| 14 |
|
#include "view.h" |
| 338 |
|
/* free old source list if one */ |
| 339 |
|
for (sp = sphead; sp != NULL; sp = sphead) { |
| 340 |
|
sphead = sp->next; |
| 341 |
< |
free((char *)sp); |
| 341 |
> |
free((void *)sp); |
| 342 |
|
} |
| 343 |
|
/* loop through all sources */ |
| 344 |
|
for (i = nsources; i--; ) { |
| 357 |
|
} |
| 358 |
|
} |
| 359 |
|
|
| 360 |
< |
/* add sources smaller than rad to computed subimage */ |
| 360 |
> |
void /* add sources smaller than rad to computed subimage */ |
| 361 |
|
drawsources(pic, zbf, x0, xsiz, y0, ysiz) |
| 362 |
|
COLOR *pic[]; /* subimage pixel value array */ |
| 363 |
|
float *zbf[]; /* subimage distance array (opt.) */ |