Clean opengl rendering.
This commit is contained in:
parent
4849d83fcf
commit
798cb365d7
19 changed files with 483 additions and 274 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue