15 |
|
#include "color.h" |
16 |
|
#include "lookup.h" |
17 |
|
|
18 |
+ |
#define PI 3.14159265358979323846 |
19 |
+ |
|
20 |
|
int o_face(), o_cone(), o_sphere(), o_ring(), o_cylinder(); |
21 |
|
int o_instance(), o_source(), o_illum(); |
22 |
|
int o_plastic(), o_metal(), o_glass(), o_mirror(), o_trans(), o_light(); |
82 |
|
goto unkopt; |
83 |
|
} |
84 |
|
break; |
85 |
+ |
default: |
86 |
+ |
goto unkopt; |
87 |
|
} |
88 |
|
init(); |
89 |
|
if (i >= argc) |
730 |
|
puts("\tc"); |
731 |
|
if (d > FTINY) |
732 |
|
printf("\t\tcxy %.4f %.4f\n", cxyz[0]/d, cxyz[1]/d); |
733 |
< |
printf("\ted %.4g\n", cxyz[1]*WHTEFFICACY); |
733 |
> |
printf("\ted %.4g\n", cxyz[1]*(PI*WHTEFFICACY)); |
734 |
|
return(0); |
735 |
|
} |