Fix hat rotating at wrong position, fixes #95.

This commit is contained in:
UnknownShadow200 2015-10-07 20:20:32 +11:00
parent ad57351cf2
commit cb77211d98
3 changed files with 4 additions and 3 deletions

View File

@ -48,7 +48,7 @@ namespace ClassicalSharp {
/// <summary> Raised when the user changed their view/fog distance. </summary>
public event EventHandler ViewDistanceChanged;
internal void RaiseViewDistanceChanged() { Raise( ViewDistanceChanged ); }
internal void RaiseViewDistanceChanged() { Raise( ViewDistanceChanged ); }
/// <summary> Raised when the held block is changed by the user or by CPE. </summary>
public event EventHandler HeldBlockChanged;

View File

@ -92,7 +92,7 @@ namespace ClassicalSharp.Model {
graphics.AlphaTest = true;
if( p.RenderHat ) {
DrawRotate( 0, 23.5f/16f, 0, -p.PitchRadians, 0, 0, model.Hat );
DrawRotate( 0, 24f/16f, 0, -p.PitchRadians, 0, 0, model.Hat );
}
}

View File

@ -1,7 +1,8 @@
ClassicalSharp is a custom Minecraft Classic client written in C# that works on both Windows and Linux.
**It is not affiliated with (or supported by) Mojang AB, Minecraft, or Microsoft in any way.**
You can get the latest binaries [here](https://github.com/UnknownShadow200/ClassicalSharp/releases).
You can grab the latest stable binaries [here](https://github.com/UnknownShadow200/ClassicalSharp/releases).
You can grab the very latest OpenGL build [here](http://cs.classicube.net/latest.zip) and the latest Direct3D 9 build [here](http://cs.classicube.net/latest.DirectX.zip).
#### What ClassicalSharp is
* Works with both minecraft.net and classicube.net accounts.