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

Comparing ray/src/cv/obj2rad.c (file contents):
Revision 2.11 by greg, Wed Jun 15 12:50:37 1994 UTC vs.
Revision 2.12 by greg, Wed Jun 15 12:52:19 1994 UTC

# Line 486 | Line 486 | register char  **av;
486  
487          if (!cvtndx(vi, av[0]))
488                  return(0);
489 <        if (vi[2] >= 0)
489 >        if (!flatten && vi[2] >= 0)
490                  return(1);              /* has interpolated normals */
491          if (ac < 4)
492                  return(0);              /* it's a triangle! */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines