Translations:Angles/12/en

From Minecraft Parkour Wiki
Revision as of 15:01, 11 September 2021 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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