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.4 by greg, Thu Jun 29 14:40:18 1995 UTC vs.
Revision 1.11 by greg, Fri Dec 1 11:07:51 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 2225 | Line 2226 | o stylus
2226                  p 0 0 .005
2227          v vend =
2228                  p 0 0 .05
2229 <        cyl vtip1 .0015
2229 >        cyl vtip1 .0015 vend
2230          sph vend .0015
2231          cone vtip0 0 vtip1 .0015
2232   o
# 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 2566 | Line 2567 | In the first form, a single integer is given for the
2567   of MGF that is to be produced.
2568   Since MGF is in its first major release, this is not yet a useful
2569   form, but it will be when the second major release comes out.
2570 + This has the necessary side-effect of expanding all included files.
2571 + (See the
2572 + .UL i
2573 + entity.)\0
2574   .LP
2575   In the second form,
2576   .I mgfilt
# Line 2590 | Line 2595 | mgfilt f,v,p,xf input.mgf > flatpoly.mgf
2595   .SH
2596   SEE ALSO
2597   .LP
2598 < mgf2rad, rad2mgf
2598 > i, mgf2rad, rad2mgf
2599   .ds RH MGF2RAD
2600   .bp
2601   .SH
# Line 3272 | Line 3277 | and return one of the non-zero values from "parser.h"
3277   #define MG_EMEM         8               /* out of memory */
3278   #define MG_ESEEK                9               /* file seek error */
3279   #define MG_EBADMAT      10              /* bad material specification */
3280 + #define MG_ELINE                11              /* input line too long */
3281 + #define MG_ECNTXT               12              /* unmatched context close */
3282  
3283 < #define MG_NERRS        11
3283 > #define MG_NERRS        13
3284   .DE
3285   If it is inappropriate to send output to standard error, the calling
3286   program should use the routines listed under
# Line 3357 | Line 3364 | The
3364   function reads the next input line from the current file,
3365   returning the number of characters in the line, or zero if the
3366   end of file is reached or there is a file error.
3367 < The function skips over escaped newlines, and keeps track of the
3367 > If the value returned equals MG_MAXLINE-1,
3368 > then the input line was too long, and you
3369 > should return an MG_ELINE error.
3370 > The function keeps track of the
3371   line number in the current file context
3372   .I mg_file,
3373   which also contains the line that was read.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines