From dcd0c47247d9f710166f5fc9688c6c693e831f7e Mon Sep 17 00:00:00 2001 From: Joshua Barretto Date: Mon, 13 Sep 2021 18:15:12 +0000 Subject: [PATCH] Fixed incorrect winding order for debug cylinder triangles --- voxygen/src/scene/debug.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voxygen/src/scene/debug.rs b/voxygen/src/scene/debug.rs index 1bca73dca8..bbe2832d34 100644 --- a/voxygen/src/scene/debug.rs +++ b/voxygen/src/scene/debug.rs @@ -39,7 +39,7 @@ impl DebugShape { 0.0, ); let h = Vec3::new(0.0, 0.0, *height); - mesh.push_tri(tri(a, b, c)); + mesh.push_tri(tri(c, b, a)); mesh.push_quad(quad(b, c, c + h, b + h)); mesh.push_tri(tri(a + h, b + h, c + h)); }