# | Line 15 | Line 15 | static char SCCSid[] = "$SunId$ LBL"; | |
---|---|---|
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(); | |
# | Line 728 | Line 730 | register FUNARGS *fa; | |
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 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |