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.33 by greg, Tue Mar 6 04:41:31 2012 UTC vs.
Revision 2.34 by greg, Thu Mar 15 02:32:19 2012 UTC

# Line 347 | Line 347 | if ($pctcull >= 0) {
347          $cmd .= "$td/" . ($bmodnm,$fmodnm)[$forw] . "_???.flt";
348          print "{\n";
349          system "$cmd" || die "Failure running rcalc";
350 +        for (my $i = ($tensortree==3)*$ns*$ns*$ns/2; $i-- > 0; ) {
351 +                print "0\n";
352 +        }
353          print "}\n";
354   }
355   print
# Line 380 | Line 383 | if ($pctcull >= 0) {
383          $cmd .= "$td/" . ($fmodnm,$bmodnm)[$forw] . "_???.flt";
384          print "{\n";
385          system "$cmd" || die "Failure running rcalc";
386 +        for (my $i = ($tensortree==3)*$ns*$ns*$ns/2; $i-- > 0; ) {
387 +                print "0\n";
388 +        }
389          print "}\n";
390   }
391   print

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines