186 |
|
getaim(s) /* aim camera */ |
187 |
|
char *s; |
188 |
|
{ |
189 |
– |
extern double tan(), atan(); |
189 |
|
double zfact; |
190 |
|
VIEW nv; |
191 |
|
|
216 |
|
getrotate(s) /* rotate camera */ |
217 |
|
char *s; |
218 |
|
{ |
220 |
– |
extern double normalize(), tan(), atan(); |
219 |
|
VIEW nv; |
220 |
|
FVECT v1; |
221 |
|
double angle, elev, zfact; |
455 |
|
case 'a': /* ambient */ |
456 |
|
switch (s[1]) { |
457 |
|
case 'v': /* value */ |
458 |
< |
getparam(s+2, "ambient value", 'C', ambval); |
458 |
> |
getparam(s+2, "ambient value", 'C', (COLOR *)ambval); |
459 |
|
break; |
460 |
|
case 'a': /* accuracy */ |
461 |
|
getparam(s+2, "ambient accuracy", 'r', &ambacc); |