mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-23 04:57:58 +01:00
Remove unused constants
This commit is contained in:
parent
16634d9957
commit
f9dba78570
3 changed files with 7 additions and 14 deletions
|
@ -583,7 +583,7 @@ public abstract class AbstractPonyModel extends ModelPlayer implements IModel {
|
||||||
float rarmY = getArmRotationY();
|
float rarmY = getArmRotationY();
|
||||||
|
|
||||||
float armX = THIRDP_ARM_CENTRE_X;
|
float armX = THIRDP_ARM_CENTRE_X;
|
||||||
float armY = THIRDP_ARM_CENTRE_Y - 6;
|
float armY = THIRDP_ARM_CENTRE_Y;
|
||||||
float armZ = BODY_CENTRE_Z / 2 - 1 - armDepth;
|
float armZ = BODY_CENTRE_Z / 2 - 1 - armDepth;
|
||||||
|
|
||||||
bipedLeftArm .addBox(armX, armY, armZ, armWidth, 12, armDepth, stretch);
|
bipedLeftArm .addBox(armX, armY, armZ, armWidth, 12, armDepth, stretch);
|
||||||
|
|
|
@ -25,12 +25,6 @@ public final class PonyModelConstants {
|
||||||
BODY_RP_Z_SNEAK = -4,
|
BODY_RP_Z_SNEAK = -4,
|
||||||
BODY_RP_Z_RIDING = 4,
|
BODY_RP_Z_RIDING = 4,
|
||||||
|
|
||||||
EXT_WING_ROTATE_ANGLE_X = 2.5F,
|
|
||||||
|
|
||||||
FIRSTP_ARM_CENTRE_X = -1,
|
|
||||||
FIRSTP_ARM_CENTRE_Y = 4,
|
|
||||||
FIRSTP_ARM_CENTRE_Z = 0,
|
|
||||||
|
|
||||||
FRONT_LEG_RP_Y_NOTSNEAK = 8,
|
FRONT_LEG_RP_Y_NOTSNEAK = 8,
|
||||||
FRONT_LEG_RP_Y_SNEAK = 8,
|
FRONT_LEG_RP_Y_SNEAK = 8,
|
||||||
|
|
||||||
|
@ -64,9 +58,11 @@ public final class PonyModelConstants {
|
||||||
TAIL_RP_Z_NOTSNEAK = 14,
|
TAIL_RP_Z_NOTSNEAK = 14,
|
||||||
TAIL_RP_Z_SNEAK = 15,
|
TAIL_RP_Z_SNEAK = 15,
|
||||||
|
|
||||||
|
FIRSTP_ARM_CENTRE_X = -3,
|
||||||
|
|
||||||
THIRDP_ARM_CENTRE_X = 0,
|
THIRDP_ARM_CENTRE_X = 0,
|
||||||
THIRDP_ARM_CENTRE_Y = 10,
|
THIRDP_ARM_CENTRE_Y = 4,
|
||||||
THIRDP_ARM_CENTRE_Z = 0,
|
THIRDP_ARM_CENTRE_Z = -1,
|
||||||
|
|
||||||
WING_FOLDED_RP_Y = 13,
|
WING_FOLDED_RP_Y = 13,
|
||||||
WING_FOLDED_RP_Z = -3,
|
WING_FOLDED_RP_Z = -3,
|
||||||
|
|
|
@ -152,10 +152,7 @@ public class ModelUnicorn extends ModelEarthPony implements IModelUnicorn {
|
||||||
unicornArmLeft = new PonyRenderer(this, 40, 32).size(64, 64);
|
unicornArmLeft = new PonyRenderer(this, 40, 32).size(64, 64);
|
||||||
unicornArmRight = new PonyRenderer(this, 40, 32).size(64, 64);
|
unicornArmRight = new PonyRenderer(this, 40, 32).size(64, 64);
|
||||||
|
|
||||||
float armY = THIRDP_ARM_CENTRE_Y - 6;
|
unicornArmLeft .box(FIRSTP_ARM_CENTRE_X, THIRDP_ARM_CENTRE_Y, THIRDP_ARM_CENTRE_Z, 4, 12, 4, stretch + .25F).around(5, yOffset + 2, 0);
|
||||||
float armZ = THIRDP_ARM_CENTRE_Z - 2;
|
unicornArmRight.box(FIRSTP_ARM_CENTRE_X, THIRDP_ARM_CENTRE_Y, THIRDP_ARM_CENTRE_Z, 4, 12, 4, stretch + .25F).around(-5, yOffset + 2, 0);
|
||||||
|
|
||||||
unicornArmLeft .box(FIRSTP_ARM_CENTRE_X - 2, armY, armZ, 4, 12, 4, stretch + .25F).around(5, yOffset + 2, 0);
|
|
||||||
unicornArmRight.box(FIRSTP_ARM_CENTRE_X - 2, armY, armZ, 4, 12, 4, stretch + .25F).around(-5, yOffset + 2, 0);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue