mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
14 lines
296 B
C#
14 lines
296 B
C#
using System;
|
|
using System.Numerics;
|
|
|
|
namespace Robust.Shared.Physics;
|
|
|
|
public struct PhysicsHull
|
|
{
|
|
public static Span<Vector2> ComputePoints(ReadOnlySpan<Vector2> points, int count)
|
|
{
|
|
var hull = InternalPhysicsHull.ComputeHull(points, count);
|
|
return hull.Points;
|
|
}
|
|
}
|