From 697baaa3cc92e945d2301238dc9bcabffdb465ef Mon Sep 17 00:00:00 2001 From: Thales1330 Date: Tue, 6 Sep 2016 18:32:47 -0300 Subject: Counter clockwise rotation implemented --- Project/Machines.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Project/Machines.h') diff --git a/Project/Machines.h b/Project/Machines.h index 737e407..8c60631 100644 --- a/Project/Machines.h +++ b/Project/Machines.h @@ -16,12 +16,12 @@ public: virtual void Move(wxPoint2DDouble position); virtual void MoveNode(Element* element, wxPoint2DDouble position); virtual void StartMove(wxPoint2DDouble position); - virtual void RotateNode(Element* parent); + virtual void RotateNode(Element* parent, bool clockwise = true); virtual void RemoveParent(Element* parent); virtual bool NodeContains(wxPoint2DDouble position); virtual bool SetNodeParent(Element* parent); virtual void UpdateNodes(); - virtual void Rotate(); + virtual void Rotate(bool clockwise = true); virtual void DrawSymbol() const {} protected: -- cgit