mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-15 06:42:25 +02:00
Box2D updates (#3957)
This commit is contained in:
@@ -467,7 +467,7 @@ namespace Robust.Client.Debugging
|
||||
|
||||
break;
|
||||
case PolygonShape poly:
|
||||
Span<Vector2> verts = stackalloc Vector2[poly.Vertices.Length];
|
||||
Span<Vector2> verts = stackalloc Vector2[poly.VertexCount];
|
||||
|
||||
for (var i = 0; i < verts.Length; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user