diff --git a/spine-csharp/src/SkeletonClipping.cs b/spine-csharp/src/SkeletonClipping.cs index 1dcbb0a0e..a11c0c821 100644 --- a/spine-csharp/src/SkeletonClipping.cs +++ b/spine-csharp/src/SkeletonClipping.cs @@ -47,7 +47,7 @@ namespace Spine { public ExposedList ClippedTriangles { get { return clippedTriangles; } } public ExposedList ClippedUVs { get { return clippedUVs; } } - public bool IsClipping () { return clipAttachment != null; } + public bool IsClipping { get { return clipAttachment != null; } } public int ClipStart (Slot slot, ClippingAttachment clip) { if (clipAttachment != null) return 0; @@ -89,7 +89,7 @@ namespace Spine { clippedVertices.Clear(); clippedUVs.Clear(); clippedTriangles.Clear(); - //outer: // libgdx + //outer: for (int i = 0; i < trianglesLength; i += 3) { int vertexOffset = triangles[i] << 1; float x1 = vertices[vertexOffset], y1 = vertices[vertexOffset + 1]; @@ -258,7 +258,7 @@ namespace Spine { return clipped; } - public static void MakeClockwise (ExposedList polygon) { + static void MakeClockwise (ExposedList polygon) { float[] vertices = polygon.Items; int verticeslength = polygon.Count; diff --git a/spine-csharp/src/Triangulator.cs b/spine-csharp/src/Triangulator.cs index ad9f39ee2..c4bdb0418 100644 --- a/spine-csharp/src/Triangulator.cs +++ b/spine-csharp/src/Triangulator.cs @@ -31,7 +31,7 @@ using System; namespace Spine { - public class Triangulator { + internal class Triangulator { private readonly ExposedList> convexPolygons = new ExposedList>(); private readonly ExposedList> convexPolygonsIndices = new ExposedList>();