Small fixes

This commit is contained in:
paulevsGitch 2021-03-18 01:42:11 +03:00
parent a89b2d7d18
commit abefc062ee
9 changed files with 25 additions and 26 deletions

View file

@ -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) {