Skip to content

Commit 6456ed6

Browse files
committed
todo on combineRGB
1 parent 76905a5 commit 6456ed6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/gregtech/api/util/GTUtility.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,11 +1009,13 @@ public static long scaleVoltage(long voltage, int workingTier) {
10091009
return Math.min(voltage, GTValues.VA[workingTier]);
10101010
}
10111011

1012+
// TODO: remove once ColorUtil from pr 2858 is merged
10121013
public static int combineRGB(@Range(from = 0, to = 255) int r, @Range(from = 0, to = 255) int g,
10131014
@Range(from = 0, to = 255) int b) {
10141015
return (r << 16) | (g << 8) | b;
10151016
}
10161017

1018+
// TODO: remove once ColorUtil from pr 2858 is merged
10171019
public static int combineRGB(@Range(from = 0, to = 255) int a, @Range(from = 0, to = 255) int r,
10181020
@Range(from = 0, to = 255) int g, @Range(from = 0, to = 255) int b) {
10191021
return (a << 24) | (r << 16) | (g << 8) | b;

0 commit comments

Comments
 (0)