Skip to content

Commit 5459f5b

Browse files
committed
fix questionable headrot math in DogModel
1 parent 34e5d4b commit 5459f5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/doggytalents/client/entity/model/dog/DogModel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public void setupAnim(Dog dog, float limbSwing, float limbSwingAmount, float age
241241

242242
if (pose.freeHead) {
243243
this.head.xRot += headPitch * ((float)Math.PI / 180F);
244-
this.head.yRot += netHeadYaw * (dog.isInSittingPose() && dog.isLying() ? 0.005F : (float)Math.PI / 180F);
244+
this.head.yRot += netHeadYaw * Mth.DEG_TO_RAD;
245245
}
246246
if (pose.freeTail) {
247247
this.tail.xRot = dog.getTailRotation();

0 commit comments

Comments
 (0)