src/gui_editactions.cpp

changeset 191
9bb6a17305ad
parent 190
82f784cf2ce5
child 192
c414924a647c
--- a/src/gui_editactions.cpp	Fri May 10 21:45:36 2013 +0300
+++ b/src/gui_editactions.cpp	Sat May 11 04:02:13 2013 +0300
@@ -621,7 +621,7 @@
 	const double angle = (pi * currentGrid ().confs[Grid::Angle]->value) / 360;
 	
 	// ref: http://en.wikipedia.org/wiki/Transformation_matrix#Rotation_2
-	matrix<3> transform ({
+	matrix transform ({
 		(l * l * (1 - cos (angle))) + cos (angle),
 		(m * l * (1 - cos (angle))) - (n * sin (angle)),
 		(n * l * (1 - cos (angle))) + (m * sin (angle)),

mercurial