www.pudn.com > SurfWareNew06.3.5(LYW).rar > Box.cpp


// Box.cpp: implementation of the CBox class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#include "stdafx.h" 
#include "surfware.h" 
#include "Box.h" 
 
#ifdef _DEBUG 
#undef THIS_FILE 
static char THIS_FILE[]=__FILE__; 
#define new DEBUG_NEW 
#endif 
 
////////////////////////////////////////////////////////////////////// 
// Construction/Destruction 
////////////////////////////////////////////////////////////////////// 
SEOBJECT_IMPLEMENT(CBox,CModel ) 
 
CBox::CBox(float size,PlHPoint3Df center,COLORREF color) 
{ 
	_size=size; 
	_center=center; 
	_color=color; 
} 
 
CBox::CBox() 
{ 
 
} 
 
CBox::~CBox() 
{ 
 
}