18 lines
373 B
C
18 lines
373 B
C
/* Copyrighted Pixar 1989 */
|
|
/* From the RenderMan Companion p. 81 */
|
|
/* Listing 5.3 Bowling pin with normals assigned to vertices, defined using RiPointsPolygons */
|
|
|
|
#include <jman/ri.h>
|
|
|
|
#ifndef JMAN_PATCHES
|
|
#define JMAN_PATCHES
|
|
|
|
typedef struct _sPoint2D
|
|
{
|
|
RtFloat x, y;
|
|
} Point2D;
|
|
|
|
void SurfOR(Point2D points[], int npoints);
|
|
|
|
#endif // JMAN_PATCHES
|