OSDN Git Service

Javadocs.
authorNathanSweet <nathan.sweet@gmail.com>
Sun, 15 Sep 2013 13:37:45 +0000 (15:37 +0200)
committerNathanSweet <nathan.sweet@gmail.com>
Sun, 15 Sep 2013 13:37:45 +0000 (15:37 +0200)
gdx/src/com/badlogic/gdx/math/DelaunayTriangulator.java

index 80405b4..ea23654 100644 (file)
@@ -317,7 +317,8 @@ public class DelaunayTriangulator {
                return up;
        }
 
-       /** Removes all triangles with an edge outside the specified hull, which may be concave. */
+       /** Removes all triangles with a centroid outside the specified hull, which may be concave. Note some triangulations may have
+        * triangles whose centroid is inside the hull but a portion is outside. */
        public void trim (ShortArray triangles, float[] points, float[] hull, int offset, int count) {
                short[] trianglesArray = triangles.items;
                for (int i = triangles.size - 1; i >= 0; i -= 3) {