summaryrefslogtreecommitdiffstats
path: root/ToolRotate.h
diff options
context:
space:
mode:
Diffstat (limited to 'ToolRotate.h')
-rw-r--r--ToolRotate.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ToolRotate.h b/ToolRotate.h
index 27491fb..4037b58 100644
--- a/ToolRotate.h
+++ b/ToolRotate.h
@@ -15,7 +15,7 @@ class ToolRotate : public Tool, private EventHandler, private Renderer {
bool pressed, valid;
float angle;
- Vertex v0, v;
+ Vertex vertexRot, vertex;
// prevent shallow copy
ToolRotate(const ToolRotate &t);
@@ -47,9 +47,9 @@ class ToolRotate : public Tool, private EventHandler, private Renderer {
return this;
}
- virtual bool buttonPress(unsigned int button);
- virtual bool buttonRelease(unsigned int button);
- virtual bool motion();
+ virtual bool buttonPress(unsigned int button, const Vertex *v);
+ virtual bool buttonRelease(unsigned int button, const Vertex *v);
+ virtual bool motion(const Vertex *v, float scale);
virtual Renderer *getRenderer() {
return this;