mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-01-26 02:07:26 +00:00
forgot a virtual dtor
This commit is contained in:
parent
6a7aa66bab
commit
c1084a022d
2 changed files with 6 additions and 1 deletions
|
@ -11,6 +11,10 @@ SplineGridCtrlPoint::SplineGridCtrlPoint()
|
||||||
setWidthHeight(8, 8);
|
setWidthHeight(8, 8);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SplineGridCtrlPoint::~SplineGridCtrlPoint()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
Vector SplineGridCtrlPoint::getSplinePosition() const
|
Vector SplineGridCtrlPoint::getSplinePosition() const
|
||||||
{
|
{
|
||||||
SplineGridCtrlPoint *p = (SplineGridCtrlPoint*)getParent();
|
SplineGridCtrlPoint *p = (SplineGridCtrlPoint*)getParent();
|
||||||
|
|
|
@ -17,6 +17,7 @@ class SplineGridCtrlPoint : public Quad
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SplineGridCtrlPoint();
|
SplineGridCtrlPoint();
|
||||||
|
virtual ~SplineGridCtrlPoint();
|
||||||
virtual void onUpdate(float dt) OVERRIDE;
|
virtual void onUpdate(float dt) OVERRIDE;
|
||||||
Vector getSplinePosition() const;
|
Vector getSplinePosition() const;
|
||||||
void setSplinePosition(Vector pos);
|
void setSplinePosition(Vector pos);
|
||||||
|
@ -30,7 +31,7 @@ public:
|
||||||
typedef Vector value_type;
|
typedef Vector value_type;
|
||||||
|
|
||||||
SplineGrid();
|
SplineGrid();
|
||||||
~SplineGrid();
|
virtual ~SplineGrid();
|
||||||
|
|
||||||
// # of control points on each axis
|
// # of control points on each axis
|
||||||
RenderGrid *resize(size_t w, size_t h, size_t xres, size_t yres, unsigned degx, unsigned degy);
|
RenderGrid *resize(size_t w, size_t h, size_t xres, size_t yres, unsigned degx, unsigned degy);
|
||||||
|
|
Loading…
Reference in a new issue