Jump to content

Need explain on minecraft vector


Morteboule

Recommended Posts

Hello all,

 

I'm working on my mod but there is something i don't understand in minecraft vector:

 

In method getLook(float par1) in EntityLivingBase

there is f1 = MathHelper.cos(-this.rotationYaw * 0.017453292F - (float)Math.PI);

I don't know what 0.017453292F is?

I know it's not really important to continue my mod but if someone knows what does it mean i would like to know too :D

 

Thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.