mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-16 02:56:09 -04:00
Fix hat rotating at wrong position, fixes #95.
This commit is contained in:
parent
ad57351cf2
commit
cb77211d98
@ -48,7 +48,7 @@ namespace ClassicalSharp {
|
|||||||
|
|
||||||
/// <summary> Raised when the user changed their view/fog distance. </summary>
|
/// <summary> Raised when the user changed their view/fog distance. </summary>
|
||||||
public event EventHandler ViewDistanceChanged;
|
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>
|
/// <summary> Raised when the held block is changed by the user or by CPE. </summary>
|
||||||
public event EventHandler HeldBlockChanged;
|
public event EventHandler HeldBlockChanged;
|
||||||
|
@ -92,7 +92,7 @@ namespace ClassicalSharp.Model {
|
|||||||
|
|
||||||
graphics.AlphaTest = true;
|
graphics.AlphaTest = true;
|
||||||
if( p.RenderHat ) {
|
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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
ClassicalSharp is a custom Minecraft Classic client written in C# that works on both Windows and Linux.
|
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.**
|
**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
|
#### What ClassicalSharp is
|
||||||
* Works with both minecraft.net and classicube.net accounts.
|
* Works with both minecraft.net and classicube.net accounts.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user