Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
SurfaceGeometry.h
#include <OpenGL/gl.h> |
#define kSurfaces 6 |
#define kColorSchemes 21 |
enum { |
kCube = 0, |
kTranguloidTrefoil, |
kTriaxialTritorus, |
kStilettoSurface, |
kSlippersSurface, |
kMaedersOwl |
}; |
void GetStrings (unsigned int surface, char ** strName, char ** strAuthor, char ** strX, char ** strY, char ** strZ, char ** strRange); |
void BuildGeometry (unsigned int surface, unsigned int colorScheme, unsigned int subdivisions, unsigned int xyRatio, |
GLuint * polyList, GLuint * lineList, GLuint * pointList); |
Copyright © 2004 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2004-03-26