Translations:Angles/12/en

From Minecraft Parkour Wiki

To convert the player's yaw into radians (when calling sin and cos), the game uses two formulas:<syntaxhighlight lang="java"> //formula used in general f = this.rotationYaw * (float)Math.PI / 180.0F