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

Comparing ray/src/cv/mgflib/parser.h (file contents):
Revision 1.14 by greg, Thu Jul 21 14:56:36 1994 UTC vs.
Revision 1.15 by greg, Thu Sep 1 09:17:46 1994 UTC

# Line 84 | Line 84 | extern char    *mg_err[MG_NERRS];
84   * the mg_handle function rather than the mg_ehand routines directly.
85   * (The first argument to mg_handle is the entity #, or -1.)
86   * To free any data structures and clear the parser, use mg_clear.
87 < * If there is an error, mg_load, mg_open, mg_parse, and mg_rewind
88 < * will return an error from the list above.  In addition, mg_load
89 < * will report the error to stderr.  The mg_read routine returns 0
90 < * when the end of file has been reached.
87 > * If there is an error, mg_load, mg_open, mg_parse, mg_handle and
88 > * mg_rewind will return an error from the list above.  In addition,
89 > * mg_load will report the error to stderr.  The mg_read routine
90 > * returns 0 when the end of file has been reached.
91   */
92  
93   #define MG_MAXLINE      512             /* maximum input line length */
# Line 237 | Line 237 | typedef struct {
237                          11,8,3,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},\
238                          106770L, .167, .009 }
239  
240 < #define c_cval(c,l)     ((double)(c)->ssamp[((l)-C_MINWL)/C_CWLI] / (c)->sum)
240 > #define c_cval(c,l)     ((double)(c)->ssamp[((l)-C_MINWL)/C_CWLI] / (c)->ssum)
241  
242   typedef struct {
243          int     clock;          /* incremented each change -- resettable */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines