aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-04-17 18:22:10 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-04-17 18:22:10 +0200
commitc1e10ec146db4ae372d284bd20b7f66eb42b60d4 (patch)
tree11508a18798168448830af581de0ebd8e41d61a4 /src/main/java/at/hannibal2
parent734fdf613cc660430447adbd3191b5bc7c1817de (diff)
downloadskyhanni-c1e10ec146db4ae372d284bd20b7f66eb42b60d4.tar.gz
skyhanni-c1e10ec146db4ae372d284bd20b7f66eb42b60d4.tar.bz2
skyhanni-c1e10ec146db4ae372d284bd20b7f66eb42b60d4.zip
add todo
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/mining/ColdOverlay.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/mining/ColdOverlay.kt b/src/main/java/at/hannibal2/skyhanni/features/mining/ColdOverlay.kt
index 196f2f6fb..f29337b12 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/mining/ColdOverlay.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/mining/ColdOverlay.kt
@@ -47,6 +47,7 @@ class ColdOverlay {
GlStateManager.popAttrib()
}
+ // TODO fix small bug with high cold and low threshold having the same opacity than high cold and a b it smaller threshold
private fun getColdAlpha(): Float {
val coldInterp = NumberUtil.interpolate(cold.toFloat(), lastCold.toFloat(), lastColdUpdate.toMillis())
val coldPercentage = (coldInterp - config.coldThreshold) / (100 - config.coldThreshold)