Created
May 18, 2014 03:25
-
-
Save Corosauce/5151b91d7d3dc91aaa39 to your computer and use it in GitHub Desktop.
This file contains 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
public void renderParticle(Tessellator par1Tessellator, float par2, float par3, float par4, float par5, float par6, float par7) | |
{ | |
par3 = MathHelper.cos(rotationYaw * (float)Math.PI / 180.0F); | |
par5 = MathHelper.sin(rotationYaw * (float)Math.PI / 180.0F); | |
par6 = -par5 * MathHelper.sin(rotationPitch * (float)Math.PI / 180.0F); | |
par7 = par3 * MathHelper.sin(rotationPitch * (float)Math.PI / 180.0F); | |
par4 = MathHelper.cos(rotationPitch * (float)Math.PI / 180.0F); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment