D16444: QtMath now provides a M_PI constant, operations with degrees and qRound()

Hugo Carneiro noreply at phabricator.kde.org
Fri Oct 26 22:59:11 BST 2018


Shroudmaster created this revision.
Shroudmaster added reviewers: tcanabrava, rizzitello.
Herald added a project: KDE Edu.
Herald added a subscriber: kde-edu.
Shroudmaster requested review of this revision.

REVISION SUMMARY
  Deleted the macros defining ROUND2INT and used qRound() instead. There's one instance where C++'s round() is used instead, since the original line is (double)ROUND2INT. Macros 
  defining operations with degrees were changed accordingly

REPOSITORY
  R337 KTurtle

BRANCH
  Math

REVISION DETAIL
  https://phabricator.kde.org/D16444

AFFECTED FILES
  src/canvas.cpp
  src/directiondialog.cpp
  src/interpreter/executer.cpp

To: Shroudmaster, tcanabrava, rizzitello
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20181026/32f838b1/attachment.html>


More information about the kde-edu mailing list