- initial import
git-svn-id: http://moon:8086/svn/mips@1 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
/* Copyrighted Pixar 1989 */
|
||||
/* From the RenderMan Companion p. 81 */
|
||||
/* Listing 5.3 Bowling pin with normals assigned to vertices, defined using RiPointsPolygons */
|
||||
|
||||
#include "ri.h"
|
||||
|
||||
typedef struct _sPoint2D
|
||||
{
|
||||
RtFloat x, y;
|
||||
} Point2D;
|
||||
|
||||
void PolyBoid(RtFloat *point0, RtFloat *point1, RtFloat *normal0, RtFloat *normal1, RtInt ndivs, RtInt parity);
|
||||
void PolySurfOR(Point2D *points, RtColor *colors, RtInt npoints);
|
||||
void getnextpair(float offset, RtPoint *ptrnextpair, RtFloat *point0, RtFloat *point1, RtInt ndivs);
|
||||
|
||||
#define NDIVS 24
|
||||
#define MAXVERTS 1000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user