资 源 简 介
#include "stdafx.h"
#include
#include
#include
#include
void solidCylinder(GLdouble radius, GLdouble height, GLint slices, GLint stacks) //»Ò»¸öÔ²ÖùÌ壬ÓÃDiskÀ´¸ÇסÉÏϵ×Ãæ
{
GLUquadricObj* qobj = gluNewQuadric();
gluCylinder(qobj, radius, radius, height, slices, stacks); //slicesÀàËÆÓÚ¾¶È£¬stacksÀàËÆÓÚγ¶È
glScalef(-1.0, 1.0, -1.0);