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

Comparing ray/src/cv/obj2rad.c (file contents):
Revision 2.28 by greg, Tue Aug 20 16:19:03 2013 UTC vs.
Revision 2.31 by greg, Tue Jan 28 21:18:02 2020 UTC

# Line 11 | Line 11 | static const char      RCSid[] = "$Id$";
11   */
12  
13   #include <stdlib.h>
14 #include <stdio.h>
14   #include <ctype.h>
15  
16   #include "rtmath.h"
# Line 26 | Line 25 | static const char      RCSid[] = "$Id$";
25   #define DEFOBJ          "unnamed"       /* default object name */
26   #define DEFMAT          "white"         /* default material name */
27  
28 < #define pvect(v)        printf("%18.12g %18.12g %18.12g\n",(v)[0],(v)[1],(v)[2])
28 > #define pvect(v)        printf(" %18.12g %18.12g %18.12g\n",(v)[0],(v)[1],(v)[2])
29  
30   FVECT   *vlist;                 /* our vertex list */
31   int     nvs;                    /* number of vertices in our list */
# Line 71 | Line 70 | char   *defobj = DEFOBJ;       /* default (starting) object na
70  
71   int     flatten = 0;            /* discard surface normal information */
72  
73 < char    mapname[128];           /* current picture file */
74 < char    matname[64];            /* current material name */
73 > char    mapname[256];           /* current picture file */
74 > char    matname[256];           /* current material name */
75   char    group[8][256];          /* current group name(s) */
76 < char    objname[128];           /* current object name */
76 > char    objname[256];           /* current object name */
77   char    *inpfile;               /* input file name */
78   int     lineno;                 /* current line number */
79   int     faceno;                 /* current face number */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines