From 4d3ec3d2ef37102e5b233704deb4cd7af727e1a3 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Fri, 27 Oct 2017 16:34:53 +0100 Subject: moving images with no glitches --- gui/src/chainImage.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gui/src/chainImage.h') diff --git a/gui/src/chainImage.h b/gui/src/chainImage.h index 984b0d6..f391db8 100644 --- a/gui/src/chainImage.h +++ b/gui/src/chainImage.h @@ -47,6 +47,9 @@ class chainImage : public ofImage{ ofVec3f getTransform(); float getScale(); float getRotation(); + ofPoint getLinkPos(); + float getLinkRot(); + float getLinkScale(); void updateRotationTimeline(); @@ -64,8 +67,12 @@ class chainImage : public ofImage{ chainImage *linked; ofPoint linkPos; + ofPoint dragPos; float linkScale; + float dragScale; float linkRot; + float dragRot; + std::string filename; float transition; -- cgit v1.2.3