qt tutorial- colliding mouse : normalizeAngle
in this tutorial,
what the function "normalizeAngle"??
i can find it class and that web page..
It's at the beginning of mouse.cpp (see the bottom of the page you linked to). It returns the equivalent angle within the range of 0 and 2 Pi.
thanks!!!!!! I can write that function from example file.
but i can't inclued <QGraphicsScene> :( and just can include <QGraphicsSceneEvent>.....it's wrong.
what's the problem ?:(
Qt 4 project ported to Qt 5 ? If so, you are probably missing a
QT += widgetsin your .pro file
i can't understand, but it works now...... i don't change anythig..;;
Thanks to your help!