Create HouseLightingModel

This commit is contained in:
xixu-me committed 2024-11-14 10:48:14 +08:00
1 parent 52570a9a0b
commit 9f322bccba
67 files changed
+4536

No files matched your search

+39
View File
@@ -0,0 +1,39 @@
// P2.cpp: implementation of the CP2 class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Test.h"
#include "P2.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CP2::CP2()
{
x=0;
y=0;
w=1.0;
c=CRGB(1.0,1.0,1.0);
}
CP2::~CP2()
{
}
CP2::CP2(double x,double y)
{
this->x=x;
this->y=y;
this->w=1.0;
}