mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-15 21:54:45 +00:00
cleanup code
This commit is contained in:
51 files changed
+637
-373
No files matched your search
@@ -603,9 +603,12 @@ public final class MathUtil {
|
||||
f6 = f2;
|
||||
break;
|
||||
default:
|
||||
throw new RuntimeException(
|
||||
"Something went wrong when converting from HSV to RGB. Input was " + hue + ", " + saturation +
|
||||
", " + value);
|
||||
throw new RuntimeException("Something went wrong when converting from HSV to RGB. Input was "
|
||||
+ hue
|
||||
+ ", "
|
||||
+ saturation
|
||||
+ ", "
|
||||
+ value);
|
||||
}
|
||||
|
||||
int j = clamp((int) (f4 * 255.0F), 0, 255);
|
||||
|
||||
Reference in new issue
Block a user