From f42f4bc3b3ef7ded821fad2d51258efecfcd7221 Mon Sep 17 00:00:00 2001 From: Nathan Sweet Date: Mon, 26 Oct 2020 15:47:18 -0700 Subject: [PATCH] [libgdx] Fixed javadocs, binary -> linear search. --- .../src/com/esotericsoftware/spine/Animation.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Animation.java b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Animation.java index e4b186ec8..07da9f958 100644 --- a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Animation.java +++ b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Animation.java @@ -131,7 +131,7 @@ public class Animation { return name; } - /** Binary search using a stride of 1. + /** Linear search using a stride of 1. * @param time Must be >= the first value in frames. * @return The index of the first value <= time. */ static int search (float[] frames, float time) { @@ -141,7 +141,7 @@ public class Animation { return n - 1; } - /** Binary search using the specified stride. + /** Linear search using the specified stride. * @param time Must be >= the first value in frames. * @return The index of the first value <= time. */ static int search (float[] frames, float time, int step) {