Salome HOME
Task 3.2. To keep compounds’ sub-shapes for all operations (issue #3139)
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_Rotation.cpp
index 35411e405d9b54e6f9b77f5f44675637fa3a72f8..34aced8d6f78d7883ac033fa0a1fbc8881cfa23c 100644 (file)
@@ -42,7 +42,7 @@ GeomAlgoAPI_Rotation::GeomAlgoAPI_Rotation(std::shared_ptr<GeomAPI_Shape> theSou
   }
 
   GeomTrsfPtr aTrsf(new GeomAPI_Trsf);
-  aTrsf->setRotation(theAxis, theAngle / 180.0 * M_PI);
+  aTrsf->setRotation(theAxis, theAngle);
 
   build(theSourceShape, aTrsf);
 }