1 |
< |
/* |
1 |
> |
/* Copyright (c) 1989 Regents of the University of California */ |
2 |
|
|
3 |
|
#ifndef lint |
4 |
|
static char SCCSid[] = "$SunId$ LBL"; |
5 |
|
#endif |
6 |
+ |
|
7 |
+ |
/* |
8 |
|
* genrev.c - program to generate functions of rotation about z |
9 |
|
* |
10 |
|
* The program takes as input the functions of t for z and r |
66 |
|
nseg = atoi(argv[5]); |
67 |
|
if (nseg <= 0) |
68 |
|
goto userror; |
69 |
< |
modname = smooth ? "phong" : argv[1]; |
69 |
> |
modname = smooth ? "Phong" : argv[1]; |
70 |
|
|
71 |
|
printhead(argc, argv); |
72 |
|
|
98 |
|
if (!orient) |
99 |
|
goto endfor; |
100 |
|
if (smooth) { |
101 |
< |
printf("\n%s texfunc phong\n", argv[1]); |
101 |
> |
printf("\n%s texfunc Phong\n", argv[1]); |
102 |
|
printf("4 rev_dx rev_dy rev_dz rev.cal\n"); |
103 |
|
printf("0\n4\n"); |
104 |
|
if (orient&(UP|DOWN)) { |