Clean opengl rendering.

This commit is contained in:
James Grogan 2022-11-16 09:39:05 +00:00
parent 4849d83fcf
commit 798cb365d7
19 changed files with 483 additions and 274 deletions

View file

@ -9,20 +9,22 @@ class Point
{
public:
Point(double x, double y);
Point(double x, double y, double z = 0);
Point(const DiscretePoint& point);
Point(const Point& reference, double offSetX, double offSetY);
Point(const Point& reference, double offSetX, double offSetY, double offSetZ = 0);
~Point();
static std::shared_ptr<Point> Create(double x, double y);
static std::shared_ptr<Point> Create(double x, double y, double z = 0);
double getX() const;
double getY() const;
double getZ() const;
double getDistance(const Point& point) const;
double getDistance(Point* point) const;