mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Decide whether half offset should be added based on the value used for calculating the return value of this method.
(cherry picked from commit f1420c7cbf)