# | Line 638 | Line 638 | oputW( /* print contribution */ | |
---|---|---|
638 | RAY *r | |
639 | ) | |
640 | { | |
641 | < | COLOR contr; |
641 | > | double contr[3]; |
642 | ||
643 | raycontrib(contr, r, PRIMARY); | |
644 | < | (*putreal)(colval(contr,RED)); |
645 | < | (*putreal)(colval(contr,GRN)); |
646 | < | (*putreal)(colval(contr,BLU)); |
644 | > | (*putreal)(contr[RED]); |
645 | > | (*putreal)(contr[GRN]); |
646 | > | (*putreal)(contr[BLU]); |
647 | } | |
648 | ||
649 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |