mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fixed incorrect winding order for debug cylinder triangles
This commit is contained in:
parent
73d3d3e4bb
commit
4118835fb3
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user