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

Comparing ray/src/cv/mgflib/mgfdoc.tr (file contents):
Revision 1.5 by greg, Thu Aug 24 12:28:13 1995 UTC vs.
Revision 1.8 by greg, Wed Nov 8 09:53:41 1995 UTC

# Line 1266 | Line 1266 | corresponds to the measurement at
1266   Values in between are separated by
1267   .I "(l_max-l_min)/(N-1)"
1268   nanometers.
1269 < All values must be non-negative, and the spectrum outside of the
1269 > All values should be non-negative unless defining a component for
1270 > complementary color mixing, and the spectrum outside of the
1271   specified range is assumed to be zero.
1272   (The visible range is 380 to 780 nm.)\0
1273   The actual units and scale of the measurements do not matter,
# Line 2387 | Line 2388 | ring - create a circular ring with inner and outer rad
2388   .SH
2389   SYNOPSIS
2390   .LP
2391 < .B cyl
2391 > .B ring
2392   .I "vc rmin rmax"
2393   .SH
2394   DESCRIPTION
# Line 3272 | Line 3273 | and return one of the non-zero values from "parser.h"
3273   #define MG_EMEM         8               /* out of memory */
3274   #define MG_ESEEK                9               /* file seek error */
3275   #define MG_EBADMAT      10              /* bad material specification */
3276 + #define MG_ELINE                11              /* input line too long */
3277  
3278 < #define MG_NERRS        11
3278 > #define MG_NERRS        12
3279   .DE
3280   If it is inappropriate to send output to standard error, the calling
3281   program should use the routines listed under
# Line 3357 | Line 3359 | The
3359   function reads the next input line from the current file,
3360   returning the number of characters in the line, or zero if the
3361   end of file is reached or there is a file error.
3362 + If the last character read in the input line is not a newline,
3363 + then the input line was too long, and you
3364 + should return an MG_ELINE error.
3365   The function skips over escaped newlines, and keeps track of the
3366   line number in the current file context
3367   .I mg_file,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines