From 62653078b84fa511ee0ee57cb2fb7c1910c676fe Mon Sep 17 00:00:00 2001 From: Justin Brooks Date: Thu, 28 Nov 2024 10:36:59 -0600 Subject: [PATCH] Remove interpolation resolution from public api --- vgo-core/api/vgo-core.api | 1 - .../src/main/kotlin/com/jzbrooks/vgo/core/util/math/Surveyor.kt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/vgo-core/api/vgo-core.api b/vgo-core/api/vgo-core.api index f35a635d..e120bb58 100644 --- a/vgo-core/api/vgo-core.api +++ b/vgo-core/api/vgo-core.api @@ -774,7 +774,6 @@ public final class com/jzbrooks/vgo/core/util/math/RectangleKt { } public final class com/jzbrooks/vgo/core/util/math/Surveyor { - public static final field RESOLUTION I public fun ()V public final fun findBoundingBox (Ljava/util/List;)Lcom/jzbrooks/vgo/core/util/math/Rectangle; } diff --git a/vgo-core/src/main/kotlin/com/jzbrooks/vgo/core/util/math/Surveyor.kt b/vgo-core/src/main/kotlin/com/jzbrooks/vgo/core/util/math/Surveyor.kt index a668fbdb..80ea013e 100644 --- a/vgo-core/src/main/kotlin/com/jzbrooks/vgo/core/util/math/Surveyor.kt +++ b/vgo-core/src/main/kotlin/com/jzbrooks/vgo/core/util/math/Surveyor.kt @@ -294,7 +294,7 @@ class Surveyor { } private companion object { - const val RESOLUTION = 10 + private const val RESOLUTION = 10 val interpolationResolution = (1..RESOLUTION).map { it / RESOLUTION.toDouble() }.map(Double::toFloat) } }