Enhanced edit mechanism, with "element picking" possibility

This commit is contained in:
Hombre
2016-03-03 00:25:10 +01:00
parent 98dd99103d
commit 06c26ff1b3
11 changed files with 706 additions and 288 deletions

View File

@@ -41,7 +41,7 @@ PolarCoord& PolarCoord::operator= (const Coord& other)
const double y = other.y;
radius = rtengine::norm2 (x, y);
angle = std::atan2 (x, y) * 180.0 / M_PI;
angle = std::atan2 (y, x) * 180.0 / M_PI;
return *this;
}