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

Comparing ray/src/ot/oconv.c (file contents):
Revision 1.11 by greg, Wed Aug 29 21:56:17 1990 UTC vs.
Revision 1.14 by greg, Wed May 29 16:22:36 1991 UTC

# Line 18 | Line 18 | static char SCCSid[] = "$SunId$ LBL";
18  
19   #include  "otypes.h"
20  
21 + #ifndef  DEFPATH
22 + #define  DEFPATH        ":/usr/local/lib/ray"
23 + #endif
24 +
25   #define  OMARGIN        (10*FTINY)      /* margin around global cube */
26  
27   #define  MAXOBJFIL      63              /* maximum number of scene files */
# Line 57 | Line 61 | char  **argv;
61          progname = argv[0];
62  
63          if ((libpath = getenv("RAYPATH")) == NULL)
64 <                libpath = ":/usr/local/lib/ray";
64 >                libpath = DEFPATH;
65  
66 +        initotypes();
67 +
68          for (i = 1; i < argc && argv[i][0] == '-'; i++)
69                  switch (argv[i][1]) {
70                  case '\0':                              /* scene from stdin */
# Line 101 | Line 107 | breakopt:
107          }
108  
109          printargs(argc, argv, stdout);  /* info. header */
110 +        fputformat(OCTFMT, stdout);
111          printf("\n");
112  
113          startobj = nobjects;            /* previous objects already converted */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines