mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 23:47:24 +08:00
c827c2810b
This fixes two issues the previous algorithm had: 1. A half-turn rotation used to show up as -180°. 2. Rotating more than 180° in one drag event would overwhelm it and cause the value to go outside its range. This comes at the cost of a negligible performance hit, since a division (modulo) is performed instead of just addition/subtraction. |
||
---|---|---|
.. | ||
Components | ||
ComposeScreen.cs | ||
HitObjectUsageEventBuffer.cs | ||
IPlacementHandler.cs |