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

Comparing ray/src/rt/rv2.c (file contents):
Revision 2.77 by greg, Tue Apr 22 15:47:47 2025 UTC vs.
Revision 2.78 by greg, Tue Apr 22 16:39:20 2025 UTC

# Line 791 | Line 791 | traceray(                              /* trace a single ray */
791                  if (thisray.rot >= FHUGE*.99)
792                          (*dev->comout)("at infinity");
793                  else {
794 <                        sprintf(buf, "at (%.6g %.6g %.6g) (%.6g)",
794 >                        sprintf(buf, "at (%.3f %.3f %.3f) (%.6g)",
795                                          thisray.rop[0], thisray.rop[1],
796                                          thisray.rop[2], raydistance(&thisray));
797                          (*dev->comout)(buf);
798                  }
799                  (*dev->comin)(buf, NULL);
800                  scolor_rgb(col, thisray.rcol);
801 <                sprintf(buf, "value (%.5g %.5g %.5g) (%.3gL)",
801 >                sprintf(buf, "value (%.4g %.4g %.4g) (%.3gL)",
802                                  colval(col,RED),
803                                  colval(col,GRN),
804                                  colval(col,BLU),

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines