From 12bac5308cf1eed17f701c0f971bcd1a9d6ce060 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Fri, 5 Sep 2025 23:02:20 +0200 Subject: fix: incorrect tracer colours --- src/main/kotlin/util/render/RenderInWorldContext.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main') diff --git a/src/main/kotlin/util/render/RenderInWorldContext.kt b/src/main/kotlin/util/render/RenderInWorldContext.kt index 0898190..e7e5d01 100644 --- a/src/main/kotlin/util/render/RenderInWorldContext.kt +++ b/src/main/kotlin/util/render/RenderInWorldContext.kt @@ -174,11 +174,11 @@ class RenderInWorldContext private constructor( val lastNormal0 = lastNormal ?: normal lastNormal = normal buffer.vertex(matrix.positionMatrix, a.x.toFloat(), a.y.toFloat(), a.z.toFloat()) - .color(-1) + .color(color) .normal(matrix, lastNormal0.x, lastNormal0.y, lastNormal0.z) buffer.vertex(matrix.positionMatrix, b.x.toFloat(), b.y.toFloat(), b.z.toFloat()) - .color(-1) + .color(color) .normal(matrix, normal.x, normal.y, normal.z) } -- cgit