src/gui_editactions.cpp

changeset 212
79c5205b807c
parent 211
8d35e631bef3
child 214
28e0b37156be
--- a/src/gui_editactions.cpp	Thu May 16 22:59:10 2013 +0300
+++ b/src/gui_editactions.cpp	Fri May 17 03:11:47 2013 +0300
@@ -542,7 +542,7 @@
 	std::vector<LDObject*> sel = g_win->sel ();
 	vertex origin;
 	std::vector<vertex*> queue;
-	const double angle = (pi * currentGrid ().confs[Grid::Angle]->value) / 360;
+	const double angle = (pi * currentGrid ().confs[Grid::Angle]->value) / 180;
 	
 	// ref: http://en.wikipedia.org/wiki/Transformation_matrix#Rotation_2
 	const double cosangle = cos (angle),

mercurial