diff --git a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/SkeletonBounds.java b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/SkeletonBounds.java index b8233dbda..d345a29a1 100644 --- a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/SkeletonBounds.java +++ b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/SkeletonBounds.java @@ -157,8 +157,9 @@ public class SkeletonBounds { return inside; } - /** Returns the first bounding box attachment that contains the line segment, or null. When doing many checks, it is usually - * more efficient to only call this method if {@link #aabbIntersectsSegment(float, float, float, float)} returns true. */ + /** Returns the first bounding box attachment that contains any part of the line segment, or null. When doing many checks, it + * is usually more efficient to only call this method if {@link #aabbIntersectsSegment(float, float, float, float)} returns + * true. */ public BoundingBoxAttachment intersectsSegment (float x1, float y1, float x2, float y2) { Array polygons = this.polygons; for (int i = 0, n = polygons.size; i < n; i++) @@ -166,7 +167,7 @@ public class SkeletonBounds { return null; } - /** Returns true if the polygon contains the line segment. */ + /** Returns true if the polygon contains any part of the line segment. */ public boolean intersectsSegment (FloatArray polygon, float x1, float y1, float x2, float y2) { float[] vertices = polygon.items; int nn = polygon.size; diff --git a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/utils/SkeletonActorPool.java b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/utils/SkeletonActorPool.java index 680f9cf60..912205825 100644 --- a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/utils/SkeletonActorPool.java +++ b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/utils/SkeletonActorPool.java @@ -80,7 +80,7 @@ public class SkeletonActorPool extends Pool { } /** This pool keeps a reference to the obtained instance, so it should be returned to the pool via {@link #free(SkeletonActor)} - * , {@link #freeAll(Array)}, or {@link #freeComplete()} to avoid leaking memory. */ + * , {@link #freeAll(Array)} or {@link #freeComplete()} to avoid leaking memory. */ public SkeletonActor obtain () { SkeletonActor actor = super.obtain(); actor.setSkeleton(skeletonPool.obtain());