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

Comparing ray/src/cv/tmesh2rad.c (file contents):
Revision 2.17 by greg, Fri Apr 11 20:27:23 2014 UTC vs.
Revision 2.18 by greg, Thu Apr 15 23:51:04 2021 UTC

# Line 245 | Line 245 | triangle(      /* put out a triangle */
245                          bvm[i][1] = v2->nor[i];
246                          bvm[i][2] = v3->nor[i];
247                  }
248 <                put_baryc(&bvecs, bvm, 3);
248 >                fput_baryc(&bvecs, bvm, 3, stdout);
249          }
250                                          /* put out pattern (if any) */
251          if (*pn && (v1->flags & v2->flags & v3->flags & V_HASINDX)) {
# Line 258 | Line 258 | triangle(      /* put out a triangle */
258                          bvm[i][1] = v2->ndx[i];
259                          bvm[i][2] = v3->ndx[i];
260                  }
261 <                put_baryc(&bvecs, bvm, 2);
261 >                fput_baryc(&bvecs, bvm, 2, stdout);
262          }
263                                          /* put out (reversed) triangle */
264          printf("\n%s polygon %s.%d\n", mod, obj, ++ntri);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines