MCHPR / MCHPRS

A multithreaded Minecraft server built for redstone.
MIT License
1.59k stars 69 forks source link

Entities use 350 degree circles instead of 360? #28

Closed shouttrickword closed 3 years ago

shouttrickword commented 3 years ago

While writing my pull request I noticed that all the clientbound packets use 350 degrees, shouldn't this be 359 or 360?

For example:

buf.write_byte((self.yaw % 350f32 / 350f32 * 256f32) as i8);

Shouldn't 350f32 be 360f32? Since this happens for every packet and not just a single one I thought I'd open an issue first in case I am overlooking something. 😅