This doesn't seem like a constructive change. Removing parentheses around GRAVITY make mistakes more likely, and there's no reason to use the double version of atan2()