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/Transformer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Project/Transformer.h') diff --git a/Project/Transformer.h b/Project/Transformer.h index 413b8d9..4630d33 100644 --- a/Project/Transformer.h +++ b/Project/Transformer.h @@ -13,7 +13,7 @@ public: virtual bool Contains(wxPoint2DDouble position) const; virtual void Draw(wxPoint2DDouble translation, double scale) const; virtual bool Intersects(wxRect2DDouble rect) const; - virtual void Rotate(); + virtual void Rotate(bool clockwise = true); virtual void Move(wxPoint2DDouble position); virtual void MoveNode(Element* parent, wxPoint2DDouble position); virtual void StartMove(wxPoint2DDouble position); -- cgit