From 8f1d1f0ce8d9654f477415029f734888bf368992 Mon Sep 17 00:00:00 2001 From: Leo dev Date: Mon, 21 Apr 2025 00:20:43 +0200 Subject: [PATCH] tesing rounded corners --- src/main/java/org/saturnclient/ui2/elements/Text.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/java/org/saturnclient/ui2/elements/Text.java b/src/main/java/org/saturnclient/ui2/elements/Text.java index 9ab84b6..1331135 100644 --- a/src/main/java/org/saturnclient/ui2/elements/Text.java +++ b/src/main/java/org/saturnclient/ui2/elements/Text.java @@ -1,6 +1,5 @@ package org.saturnclient.ui2.elements; -import org.joml.Quaternionf; import org.saturnclient.ui2.Element; import org.saturnclient.ui2.RenderScope; @@ -23,13 +22,8 @@ public class Text extends Element { renderScope.matrices.push(); - renderScope.matrices.multiply(net.minecraft.util.math.RotationAxis.POSITIVE_Z.rotationDegrees(90.0f)); - - renderScope.matrices.translate(300, 300, 0); - renderScope.matrices.scale(0.1f, 0.1f, 1.0f); - int r = 90; // Radius of the corner int h = (rectHeight / 2) * 10; // Height of the box int w = (rectWidth / 2) * 10; // Width of the box