Skip to content

Instantly share code, notes, and snippets.

@Corosauce
Created May 10, 2014 23:00
Show Gist options
  • Save Corosauce/34492a172c1af141d151 to your computer and use it in GitHub Desktop.
Save Corosauce/34492a172c1af141d151 to your computer and use it in GitHub Desktop.
float var3 = MathHelper.cos(var12.rotationYaw * (float)Math.PI / 180.0F);
float var4 = MathHelper.sin(var12.rotationYaw * (float)Math.PI / 180.0F);
float var5 = -var4 * MathHelper.sin(var12.rotationPitch * (float)Math.PI / 180.0F);
float var6 = var3 * MathHelper.sin(var12.rotationPitch * (float)Math.PI / 180.0F);
float var7 = MathHelper.cos(var12.rotationPitch * (float)Math.PI / 180.0F);
var12.renderParticle(var10, var2, var3, var7, var4, var5, var6);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment