Browse Source

[csharp] Reduce access to internal methods.

pharan 8 years ago
parent
commit
4abea9e4ad
2 changed files with 2 additions and 2 deletions
  1. 1 1
      spine-csharp/src/SkeletonClipping.cs
  2. 1 1
      spine-csharp/src/Triangulator.cs

+ 1 - 1
spine-csharp/src/SkeletonClipping.cs

@@ -258,7 +258,7 @@ namespace Spine {
 			return clipped;
 			return clipped;
 		}
 		}
 
 
-		public static void MakeClockwise (ExposedList<float> polygon) {
+		static void MakeClockwise (ExposedList<float> polygon) {
 			float[] vertices = polygon.Items;
 			float[] vertices = polygon.Items;
 			int verticeslength = polygon.Count;
 			int verticeslength = polygon.Count;
 
 

+ 1 - 1
spine-csharp/src/Triangulator.cs

@@ -31,7 +31,7 @@
 using System;
 using System;
 
 
 namespace Spine {
 namespace Spine {
-	public class Triangulator {
+	internal class Triangulator {
 		private readonly ExposedList<ExposedList<float>> convexPolygons = new ExposedList<ExposedList<float>>();
 		private readonly ExposedList<ExposedList<float>> convexPolygons = new ExposedList<ExposedList<float>>();
 		private readonly ExposedList<ExposedList<int>> convexPolygonsIndices = new ExposedList<ExposedList<int>>();
 		private readonly ExposedList<ExposedList<int>> convexPolygonsIndices = new ExposedList<ExposedList<int>>();