Fixed incorrect winding order for debug cylinder triangles

This commit is contained in:
Joshua Barretto 2021-09-13 18:15:12 +00:00
parent 73d3d3e4bb
commit 4118835fb3

View File

@ -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));
}