| 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 */ |
| 61 |
|
progname = argv[0]; |
| 62 |
|
|
| 63 |
|
if ((libpath = getenv("RAYPATH")) == NULL) |
| 64 |
< |
libpath = ":/usr/local/lib/ray"; |
| 64 |
> |
libpath = DEFPATH; |
| 65 |
|
|
| 66 |
|
initotypes(); |
| 67 |
|
|
| 107 |
|
} |
| 108 |
|
|
| 109 |
|
printargs(argc, argv, stdout); /* info. header */ |
| 110 |
+ |
fputformat(OCTFMT, stdout); |
| 111 |
|
printf("\n"); |
| 112 |
|
|
| 113 |
|
startobj = nobjects; /* previous objects already converted */ |