From c9c25b61560e6fb4e1ba2dfb1d5cc61b0ec9ddab Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Wed, 30 Oct 2024 16:35:19 +0100 Subject: Add warning for missing REI --- src/main/kotlin/util/render/DrawContextExt.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/kotlin/util/render/DrawContextExt.kt') diff --git a/src/main/kotlin/util/render/DrawContextExt.kt b/src/main/kotlin/util/render/DrawContextExt.kt index 3e086b8..fc38aa6 100644 --- a/src/main/kotlin/util/render/DrawContextExt.kt +++ b/src/main/kotlin/util/render/DrawContextExt.kt @@ -12,6 +12,7 @@ fun DrawContext.isUntranslatedGuiDrawContext(): Boolean { fun DrawContext.drawLine(fromX: Int, fromY: Int, toX: Int, toY: Int, color: Color) { // TODO: push scissors + // TODO: use matrix translations and a different render layer if (toY < fromY) { drawLine(toX, toY, fromX, fromY, color) return -- cgit