Create P2.cpp

This commit is contained in:
xixu-me committed 2024-10-01 21:04:12 +08:00
1 parent 7e182f9e13
commit 10d80273ca
1 file changed
+16
+16
View File
@@ -0,0 +1,16 @@
#include "pch.h"
#include "P2.h"
CP2::CP2() {
x = 0.0;
y = 0.0;
c = CRGB(1.0, 1.0, 1.0);
}
CP2::~CP2() {
}
CP2::CP2(double x, double y) {
this->x = x;
this->y = y;
}