Blend cleanup
This commit is contained in:
1 parent
a0c82d3f3f
commit
f7952008cd
2 files changed
+3
-3
No files matched your search
@@ -113,7 +113,7 @@ public class Terrain {
|
||||
|
||||
// Blend between heights
|
||||
|
||||
return interpolatedChildHeight + interpolatedParentTerrainHeight * (1 - terrainZone.terrain.heightBlend(terrainLoc));
|
||||
return interpolatedChildHeight + interpolatedParentTerrainHeight * (1 - terrainZone.terrain.terrainBlend(terrainLoc));
|
||||
|
||||
}
|
||||
|
||||
@@ -179,7 +179,7 @@ public class Terrain {
|
||||
return interpolatedHeight;
|
||||
}
|
||||
|
||||
public float heightBlend(Vector2f terrainLoc) {
|
||||
public float terrainBlend(Vector2f terrainLoc) {
|
||||
|
||||
// Normalize terrain loc
|
||||
|
||||
|
||||
Reference in new issue
Block a user