10 |
|
#include "copyright.h" |
11 |
|
|
12 |
|
#include "ray.h" |
13 |
+ |
#include "func.h" |
14 |
|
#include "paths.h" |
15 |
|
#include "pmapopt.h" |
16 |
|
|
314 |
|
return(1); |
315 |
|
} |
316 |
|
break; |
317 |
+ |
case 'f': /* .cal file */ |
318 |
+ |
if (av[0][2]) |
319 |
+ |
break; |
320 |
+ |
check(2,"s"); |
321 |
+ |
loadfunc(av[1]); |
322 |
+ |
return(1); |
323 |
+ |
case 'e': /* .cal expression */ |
324 |
+ |
if (av[0][2]) |
325 |
+ |
break; |
326 |
+ |
check(2,"s"); |
327 |
+ |
if (!strchr(av[1], '=') && !strchr(av[1], ':')) |
328 |
+ |
break; |
329 |
+ |
scompile(av[1], NULL, 0); |
330 |
+ |
return(1); |
331 |
|
#if MAXCSAMP>3 |
332 |
|
case 'c': /* spectral sampling */ |
333 |
|
switch (av[0][2]) { |