| 9 |
|
|
| 10 |
|
#include "copyright.h" |
| 11 |
|
|
| 12 |
< |
#include "ray.h" |
| 12 |
> |
#include <string.h> |
| 13 |
|
|
| 14 |
+ |
#include "ray.h" |
| 15 |
|
#include "rpaint.h" |
| 15 |
– |
|
| 16 |
|
#include "random.h" |
| 17 |
|
|
| 18 |
|
#ifndef WFLUSH |
| 371 |
|
if ((err = setview(vp)) != NULL) { |
| 372 |
|
sprintf(errmsg, "view not set - %s", err); |
| 373 |
|
error(COMMAND, errmsg); |
| 374 |
< |
} else if (bcmp((char *)vp, (char *)&ourview, sizeof(VIEW))) { |
| 374 |
> |
} else if (memcmp((char *)vp, (char *)&ourview, sizeof(VIEW))) { |
| 375 |
|
copystruct(&oldview, &ourview); |
| 376 |
|
copystruct(&ourview, vp); |
| 377 |
|
newimage(); |