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/Inductor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Project/Inductor.h') diff --git a/Project/Inductor.h b/Project/Inductor.h index 830cab5..721d58a 100644 --- a/Project/Inductor.h +++ b/Project/Inductor.h @@ -13,7 +13,7 @@ public: virtual void Draw(wxPoint2DDouble translation, double scale) const; virtual bool Contains(wxPoint2DDouble position) const; virtual bool Intersects(wxRect2DDouble rect) const; - virtual void Rotate(); + virtual void Rotate(bool clockwise = true); virtual bool GetContextMenu(wxMenu& menu); }; -- cgit