Skip to content

Commit

Permalink
Fix selection box looking a little bit weird
Browse files Browse the repository at this point in the history
It worked just fine on my machine ¯\\\_(ツ)\_/¯
  • Loading branch information
BlueStaggo committed Nov 24, 2024
1 parent 37354a0 commit 17a53c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions VoxelThing.Client/src/Rendering/MainRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ private void Render3D()
boxState.DepthMask(false);
boxState.DepthFunc(DepthFunction.Lequal);
boxState.Enable(EnableCap.Blend);
boxState.Disable(EnableCap.CullFace);
Draw3D.DrawBoxLines(
block.GetCollisionBox(Game.World, cast.HitX, cast.HitY, cast.HitZ),
a: 0.4f, thickness: 4.0f
Expand Down

0 comments on commit 17a53c8

Please sign in to comment.