Blend cleanup

This commit is contained in:
2023-10-09 09:45:04 -04:00
parent f7952008cd
commit bd208bd1ab
+2 -2
View File
@@ -208,9 +208,9 @@ public class Terrain {
float value; float value;
if (normalizedLoc.x <= 1 - xval || normalizedLoc.y <= 1 - yval) { if (normalizedLoc.x <= 1 - xval || normalizedLoc.x <= normalizedLoc.y) {
if (normalizedLoc.x < 1 - xval) if (normalizedLoc.y < 1 - yval)
return 1; return 1;
value = (normalizedLoc.y - (1 - yval)) / yval; value = (normalizedLoc.y - (1 - yval)) / yval;