diff --git a/src/main/java/com/jozufozu/flywheel/util/transform/MatrixTransformStack.java b/src/main/java/com/jozufozu/flywheel/util/transform/MatrixTransformStack.java index 14cecf5d7..bdb07aaa9 100644 --- a/src/main/java/com/jozufozu/flywheel/util/transform/MatrixTransformStack.java +++ b/src/main/java/com/jozufozu/flywheel/util/transform/MatrixTransformStack.java @@ -36,11 +36,6 @@ public class MatrixTransformStack implements TransformStack { return this; } - @Override - public TransformStack scale(float factor) { - return this.scale(factor, factor, factor); - } - @Override public TransformStack scale(float factorX, float factorY, float factorZ) { internal.scale(factorX, factorY, factorZ); diff --git a/src/main/java/com/jozufozu/flywheel/util/transform/TransformStack.java b/src/main/java/com/jozufozu/flywheel/util/transform/TransformStack.java index 737b07441..0b155591e 100644 --- a/src/main/java/com/jozufozu/flywheel/util/transform/TransformStack.java +++ b/src/main/java/com/jozufozu/flywheel/util/transform/TransformStack.java @@ -19,6 +19,10 @@ public interface TransformStack { TransformStack pop(); + default TransformStack scale(float factor) { + return scale(factor, factor, factor); + } + default TransformStack rotate(Direction axis, float radians) { if (radians == 0) return this;