diff options
author | Ronald Inglett <71849533+inglettronald@users.noreply.github.com> | 2023-06-11 18:13:32 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-11 18:13:32 -0500 |
commit | a30fcadbeed2997ad1607d488ba7548c799a6033 (patch) | |
tree | 0955e1525c0d63beb8b33b672c0294284927b493 /src/main/kotlin/com/dulkirfabric/features | |
parent | 63012eec9f39fb3752bcded90bfc710ab3d05219 (diff) | |
parent | bf161d33a01d1d4965c84654d46fd036b7e0c6da (diff) | |
download | DulkirMod-Fabric-a30fcadbeed2997ad1607d488ba7548c799a6033.tar.gz DulkirMod-Fabric-a30fcadbeed2997ad1607d488ba7548c799a6033.tar.bz2 DulkirMod-Fabric-a30fcadbeed2997ad1607d488ba7548c799a6033.zip |
Merge pull request #1 from romangraef/feat/wireframes
Render wireframes
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric/features')
-rw-r--r-- | src/main/kotlin/com/dulkirfabric/features/RenderBoxTest.kt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/features/RenderBoxTest.kt b/src/main/kotlin/com/dulkirfabric/features/RenderBoxTest.kt index e037dd9..6a0c048 100644 --- a/src/main/kotlin/com/dulkirfabric/features/RenderBoxTest.kt +++ b/src/main/kotlin/com/dulkirfabric/features/RenderBoxTest.kt @@ -3,13 +3,16 @@ package com.dulkirfabric.features import com.dulkirfabric.events.WorldRenderLastEvent import com.dulkirfabric.util.WorldRenderUtils import meteordevelopment.orbit.EventHandler +import net.minecraft.util.math.Box import java.awt.Color object RenderBoxTest { @EventHandler fun onRender(event: WorldRenderLastEvent) { - WorldRenderUtils.drawBox(event.context,0.0f, 0.0f, 0.0f, 1.0f, 1.0f, 1.0f, - Color(255, 255, 255, 255), 3f, false) + WorldRenderUtils.drawBox( + event.context, Box(0.0, 0.0, 0.0, 1.0, 1.0, 1.0), + Color(255, 255, 255, 255), 3f, true + ) } }
\ No newline at end of file |