Catrobat/Catroid — pull request #973 by Gorphi (2014-05-13 07:54:47+00:00)
Title: refactored Angle Calculation in Catroid and Physics

Look:
Convertes between scratch angle and stage angle.
The catroid angle is all the time in ]-180,+180] the stage is between [-90, +270[. So there is no normalization of the stage angle, due to performance saving.
PhysicsLook:
Converts between stage and normal values.
Getter and Setter in the physics look work with the overwritten Methodes of the Actor class, that are called by libgdx in the stage. So there is the conversion between the stage values and the “normal” values.
PhysicsObject:
Converts between normal values and Physics values (via PhysicsWorldConverter)
The anlges of the Body are no longer normalized by PhysicsObject (due to performance saving)