174 |
|
progname); |
175 |
|
exit(1); |
176 |
|
} |
177 |
< |
copystruct(&ourview, &pictview); |
177 |
> |
ourview = pictview; |
178 |
|
} else if (picture != NULL && !VEQ(ourview.vp, pictview.vp)) { |
179 |
|
fprintf(stderr, "%s: picture must have same viewpoint\n", |
180 |
|
progname); |
269 |
|
if (indirect == NULL) |
270 |
|
memerr("indirect illuminances"); |
271 |
|
npixinvw = npixmiss = 0L; |
272 |
< |
copystruct(&leftview, &ourview); |
273 |
< |
copystruct(&rightview, &ourview); |
272 |
> |
leftview = ourview; |
273 |
> |
rightview = ourview; |
274 |
|
spinvector(leftview.vdir, ourview.vdir, ourview.vup, maxtheta); |
275 |
|
spinvector(rightview.vdir, ourview.vdir, ourview.vup, -maxtheta); |
276 |
|
setview(&leftview); |