Small fixes
This commit is contained in:
parent
a89b2d7d18
commit
abefc062ee
9 changed files with 25 additions and 26 deletions
|
@ -33,7 +33,7 @@ public class LayerOptions {
|
|||
}
|
||||
|
||||
private float clampCoverage(float value) {
|
||||
return MathHelper.clamp(value, 0, 1) * 2 - 1;
|
||||
return 0.9999F - MathHelper.clamp(value, 0, 1) * 2;
|
||||
}
|
||||
|
||||
private int clampCenter(int value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue