1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-01-24 17:26:41 +00:00

forgot a virtual dtor

This commit is contained in:
fgenesis 2023-08-25 20:13:56 +02:00
parent 6a7aa66bab
commit c1084a022d
2 changed files with 6 additions and 1 deletions

View file

@ -11,6 +11,10 @@ SplineGridCtrlPoint::SplineGridCtrlPoint()
setWidthHeight(8, 8);
}
SplineGridCtrlPoint::~SplineGridCtrlPoint()
{
}
Vector SplineGridCtrlPoint::getSplinePosition() const
{
SplineGridCtrlPoint *p = (SplineGridCtrlPoint*)getParent();

View file

@ -17,6 +17,7 @@ class SplineGridCtrlPoint : public Quad
{
public:
SplineGridCtrlPoint();
virtual ~SplineGridCtrlPoint();
virtual void onUpdate(float dt) OVERRIDE;
Vector getSplinePosition() const;
void setSplinePosition(Vector pos);
@ -30,7 +31,7 @@ public:
typedef Vector value_type;
SplineGrid();
~SplineGrid();
virtual ~SplineGrid();
// # of control points on each axis
RenderGrid *resize(size_t w, size_t h, size_t xres, size_t yres, unsigned degx, unsigned degy);