www.pudn.com > SurfWareNew06.3.5(LYW).rar > Cone.cpp
// Cone.cpp: implementation of the CCone class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "surfware.h"
#include "Cone.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
SEOBJECT_IMPLEMENT(CCone,CModel )
CCone::CCone()
{
}
CCone::CCone(float radius,float height,int slices,int stacks,PlHPoint3Df center,COLORREF color)
{
_radius=radius;
_height=height;
_slices=slices;
_stacks=stacks;
_center=center;
_color=color;
}
CCone::~CCone()
{
}