WIP: create TiedUpRigConstants, replace EpicFightMod/SharedConstants refs
- Nouveau TiedUpRigConstants.java : centralise MODID/LOGGER/identifier/prefix, constantes runtime (IS_DEV_ENV, A_TICK, GENERAL_ANIMATION_TRANSITION_TIME, MAX_JOINTS), factory ANIMATOR_PROVIDER (client/server split) + helpers stacktraceIfDevSide/logAndStacktraceIfDevSide. - sed global : EpicFightMod.* → TiedUpRigConstants.* - sed global : EpicFightSharedConstants.* → TiedUpRigConstants.* - sed global : EpicFightRenderTypes → TiedUpRenderTypes (class rename upstream) - Fix package declarations : Armature.java + TiedUpRenderTypes.java Résidus yesman.epicfight : 115 → 86 (-29) Reste : gameasset/physics/network/world/config/skill (combat deps à strip) + combat mode refs dans patch/LocalPlayerPatch + ClientPlayerPatch (Phase 2).
This commit is contained in:
@@ -43,4 +43,4 @@ public class AnimationTransformEntry {
|
||||
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -596,4 +596,4 @@ public class MathUtils {
|
||||
}
|
||||
|
||||
private MathUtils() {}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,4 +9,4 @@ package com.tiedup.remake.rig.math;
|
||||
@FunctionalInterface
|
||||
public interface MatrixOperation {
|
||||
OpenMatrix4f mul(OpenMatrix4f left, OpenMatrix4f right, OpenMatrix4f dest);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -950,4 +950,4 @@ public class OpenMatrix4f {
|
||||
|
||||
return matrixArray;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,4 +43,4 @@ public class QuaternionUtils {
|
||||
return QuaternionUtils.rotationDegrees(axis, degrees);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -136,4 +136,4 @@ public interface ValueModifier {
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,4 +30,4 @@ public class Vec2f {
|
||||
public String toString() {
|
||||
return "Vec2f[" + this.x + ", " + this.y + ", " + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ import org.joml.Quaternionf;
|
||||
import org.joml.Vector3f;
|
||||
|
||||
import net.minecraft.world.phys.Vec3;
|
||||
import yesman.epicfight.main.EpicFightMod;
|
||||
import com.tiedup.remake.rig.TiedUpRigConstants;
|
||||
|
||||
public class Vec3f extends Vec2f {
|
||||
public static final Vec3f X_AXIS = new Vec3f(1.0F, 0.0F, 0.0F);
|
||||
@@ -238,7 +238,7 @@ public class Vec3f extends Vec2f {
|
||||
float dotDivLength = Vec3f.dot(a, b) / (a.length() * b.length());
|
||||
|
||||
if (!Float.isFinite(dotDivLength)) {
|
||||
EpicFightMod.LOGGER.info("Warning : given vector's length is zero");
|
||||
TiedUpRigConstants.LOGGER.info("Warning : given vector's length is zero");
|
||||
(new IllegalArgumentException()).printStackTrace();
|
||||
dotDivLength = 1.0F;
|
||||
}
|
||||
@@ -470,4 +470,4 @@ public class Vec3f extends Vec2f {
|
||||
OpenMatrix4f.transform3v(DEST, this, this);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -72,4 +72,4 @@ public class Vec4f extends Vec3f {
|
||||
public String toString() {
|
||||
return "Vec4f[" + this.x + ", " + this.y + ", " + this.z + ", " + this.w + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user