Files
computer-graphics/Hidden-lineRemoval/P3.cpp
T
2024-11-07 14:01:22 +08:00

31 lines
542 B
C++

// P3.cpp: implementation of the CP3 class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Test.h"
#include "P3.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CP3::CP3()
{
z=0.0;
}
CP3::~CP3()
{
}
CP3::CP3(double x,double y,double z):CP2(x,y)
{
this->z=z;
}