ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cv/rad2mgf.c
(Generate patch)

Comparing ray/src/cv/rad2mgf.c (file contents):
Revision 2.25 by greg, Wed Dec 28 18:39:07 2005 UTC vs.
Revision 2.26 by greg, Tue Oct 25 23:23:17 2011 UTC

# Line 846 | Line 846 | o_trans(       /* convert a trans material */
846          COLOR   cxyz, rrgb;
847          double  rough, trans, tspec, d;
848  
849 <        if (typ[4] == '2') {            /* trans2 */
849 >        if (typ[5] == '2') {            /* trans2 */
850                  if (fa->nfargs != 8)
851                          return(-1);
852                  rough = .5*(fa->farg[4] + fa->farg[5]);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines