Skip to content

Commit a7cc8f3

Browse files
committed
docs: Add RPLE mixin markers
1 parent e82936e commit a7cc8f3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/com/falsepattern/falsetweaks/modules/ao/BrightnessMath.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,18 @@
2424

2525
import lombok.val;
2626

27+
//Mixined by RPLE
2728
public final class BrightnessMath {
2829
private BrightnessMath() {}
2930

31+
//Overwrite by RPLE
3032
public static int lerpBrightness(int a, int b, double fract) {
3133
int sky = lerpBrightnessChannel(brightnessSky(a), brightnessSky(b), fract);
3234
int block = lerpBrightnessChannel(brightnessBlock(a), brightnessBlock(b), fract);
3335
return brightnessPack(sky, block);
3436
}
3537

38+
//Overwrite by RPLE
3639
public static int biLerpBrightness(int q00, int q10, int q01, int q11, double tx, double ty) {
3740
int sky = biLerpBrightnessChannel(brightnessSky(q00),
3841
brightnessSky(q10),
@@ -47,6 +50,7 @@ public static int biLerpBrightness(int q00, int q10, int q01, int q11, double tx
4750
return brightnessPack(sky, block);
4851
}
4952

53+
//Overwrite by RPLE
5054
public static int averageBrightness(int a, int b) {
5155
int sky = averageBrightnessChannel(brightnessSky(a),
5256
brightnessSky(b));
@@ -57,6 +61,7 @@ public static int averageBrightness(int a, int b) {
5761
return brightnessPack(sky, block);
5862
}
5963

64+
//Overwrite by RPLE
6065
public static int averageBrightness(int a, int b, int c, int d) {
6166
int sky = averageBrightnessChannel(brightnessSky(a),
6267
brightnessSky(b),

0 commit comments

Comments
 (0)