2025-03-11 15:30:07 +08:00

12 lines
452 B
C#

using System.Collections.Generic;
using UnityEngine;
namespace UnityEditor.U2D.Animation
{
internal interface ITriangulator
{
void Triangulate(IList<Vector2> vertices, IList<Edge> edges, IList<int> indices);
void Tessellate(float minAngle, float maxAngle, float meshAreaFactor, float largestTriangleAreaFactor, float areaThreshold, int smoothIterations, IList<Vector2> vertices, IList<Edge> edges, IList<int> indices);
}
}