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