fixed issue with incorrect wall rotation

This commit is contained in:
2017-09-13 09:31:03 +02:00
parent 29d5ce19ff
commit 72b07824d9

View File

@@ -39,7 +39,7 @@ protected:
void paintGL() {
const float rad = std::atan2(to.y - from.y, to.x - from.x);
const float rad = -std::atan2(to.y - from.y, to.x - from.x);
const float deg = rad * 180 / M_PI;
//const Point2 dir = (to - from).normalized();