feat(config): add visibility + MinCaveY fields and cave-gen docs
This commit is contained in:
@@ -74,4 +74,15 @@ public class ConfigurationTests
|
||||
Assert.Equal(32f, c.CaveDarkEndY); // SeaLevel (64) - 32
|
||||
Assert.Equal(0.15f, c.CaveMinBrightness);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Defaults_HaveVisibilityAndCaveCeilingConstants()
|
||||
{
|
||||
var c = new Configuration();
|
||||
|
||||
Assert.Equal(1, c.SurfaceShellSkirtBelow);
|
||||
Assert.Equal(0.7f, c.FogStartFraction);
|
||||
Assert.Equal(new OpenTK.Mathematics.Vector3(0.45f, 0.65f, 0.95f), c.SkyColor);
|
||||
Assert.Equal(127, c.MinCaveY);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user