优化bmp2渲染
This commit is contained in:
parent
8607752732
commit
17f11b90ff
1 changed files with 0 additions and 3 deletions
|
@ -51,9 +51,6 @@ public class Bmp2Renderer extends GeoEntityRenderer<Bmp2Entity> {
|
||||||
if (name.equals("wheelL" + i)) {
|
if (name.equals("wheelL" + i)) {
|
||||||
bone.setRotX(1.5f * Mth.lerp(partialTick, animatable.leftWheelRotO, animatable.getLeftWheelRot()));
|
bone.setRotX(1.5f * Mth.lerp(partialTick, animatable.leftWheelRotO, animatable.getLeftWheelRot()));
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
for (int i = 0; i < 8; i++) {
|
|
||||||
if (name.equals("wheelR" + i)) {
|
if (name.equals("wheelR" + i)) {
|
||||||
bone.setRotX(1.5f * Mth.lerp(partialTick, animatable.rightWheelRotO, animatable.getRightWheelRot()));
|
bone.setRotX(1.5f * Mth.lerp(partialTick, animatable.rightWheelRotO, animatable.getRightWheelRot()));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue