Created
July 8, 2015 20:53
-
-
Save StillManic/de9a253e732a1443f3dc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
double d3 = EntityRenderer.thirdPersonDistanceTemp + (EntityRenderer.thirdPersonDistance - EntityRenderer.thirdPersonDistanceTemp) * partialTicks; | |
double d4 = (double)(-MathHelper.sin(entity.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(entity.rotation / 180.0F * (float)Math.PI)) * d3; | |
double d5 = (double)(MathHelper.cos(entity.rotationYaw / 180.0F * (float)Math.PI) * MathHelper.cos(entity.rotation / 180.0F * (float)Math.PI)) * d3; | |
double d6 = (double)(-MathHelper.sin(entity.rotation / 180.0F * (float)Math.PI)) * d3; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment