ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/genBSDF.pl
(Generate patch)

Comparing ray/src/util/genBSDF.pl (file contents):
Revision 2.40 by greg, Sat Oct 13 20:15:43 2012 UTC vs.
Revision 2.41 by greg, Tue Apr 23 23:19:09 2013 UTC

# Line 24 | Line 24 | my $nproc = 1;
24   my $doforw = 0;
25   my $doback = 1;
26   my $pctcull = 90;
27 < my $gunit = "Meter";
27 > my $gunit = "meter";
28   my @dim;
29   # Get options
30   while ($#ARGV >= 0) {
# Line 123 | Line 123 | print "        </Material>\n";
123   # Output MGF description if requested
124   if ( $geout ) {
125          print "\t<Geometry format=\"MGF\">\n";
126 <        print "\t\t<MGFblock unit=\"$gunit\">\n";
126 >        print "<MGFblock unit=\"$gunit\">\n";
127          printf "xf -t %.6f %.6f 0\n", -($dim[0]+$dim[1])/2, -($dim[2]+$dim[3])/2;
128          open(MGFSCN, "< $mgfscn");
129          while (<MGFSCN>) { print $_; }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines