aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/util/render/DrawContextExt.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-10-30 16:35:19 +0100
committerLinnea Gräf <nea@nea.moe>2024-10-30 16:35:19 +0100
commitc9c25b61560e6fb4e1ba2dfb1d5cc61b0ec9ddab (patch)
treefa13364bf64a70e93969992069e12865fb24ca09 /src/main/kotlin/util/render/DrawContextExt.kt
parentc38dcee2c5f483ef5990ae9204355e1bc3c2bf74 (diff)
downloadFirmament-c9c25b61560e6fb4e1ba2dfb1d5cc61b0ec9ddab.tar.gz
Firmament-c9c25b61560e6fb4e1ba2dfb1d5cc61b0ec9ddab.tar.bz2
Firmament-c9c25b61560e6fb4e1ba2dfb1d5cc61b0ec9ddab.zip
Add warning for missing REI
Diffstat (limited to 'src/main/kotlin/util/render/DrawContextExt.kt')
-rw-r--r--src/main/kotlin/util/render/DrawContextExt.kt1
1 files changed, 1 insertions, 0 deletions
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