Initial commit.
This commit is contained in:
commit
59c6161fdb
134 changed files with 4751 additions and 0 deletions
19
src/geometry/Point.h
Normal file
19
src/geometry/Point.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
|
||||
class Point
|
||||
{
|
||||
double mX;
|
||||
double mY;
|
||||
|
||||
public:
|
||||
|
||||
Point(double x, double y);
|
||||
|
||||
~Point();
|
||||
|
||||
std::shared_ptr<Point> Create(double x, double y);
|
||||
};
|
||||
|
||||
using PointPtr = std::shared_ptr<Point>;
|
Loading…
Add table
Add a link
Reference in a new issue