mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-23 09:34:35 -05:00
fix last commit
This commit is contained in:
parent
4adfdb837e
commit
d9efc75678
1 changed files with 3 additions and 3 deletions
|
@ -58,9 +58,9 @@ namespace ClassicalSharp.Entities {
|
|||
legXRot = -(float)(Math.Cos( walkTime ) * swing * legMax);
|
||||
armZRot = -idleZRot;
|
||||
|
||||
bobbingHor = (float)(Math.Cos( walkTime ) * swing * (2.5f/16f));
|
||||
bobbingVer = (float)(Math.Abs( Math.Sin( walkTime ) ) * swing * (2.5f/16f));
|
||||
bobbingModel = (float)(Math.Abs( Math.Sin( walkTime ) ) * swing * (4.0f/16f));
|
||||
bobbingHor = (float)(Math.Sin( walkTime ) * swing * (2.5f/16f));
|
||||
bobbingVer = (float)(Math.Abs( Math.Cos( walkTime ) ) * swing * (2.5f/16f));
|
||||
bobbingModel = (float)(Math.Abs( Math.Cos( walkTime ) ) * swing * (4.0f/16f));
|
||||
|
||||
DoTilt( ref bobStrength, !game.ViewBobbing || !entity.onGround );
|
||||
if( entity is LocalPlayer ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue