diff --git a/Assets/PCG/Planet Procedural Generation/Scripts/NoiseSettings.cs b/Assets/PCG/Planet Procedural Generation/Scripts/NoiseSettings.cs index b0a3a5a2d..0957ab6b2 100644 --- a/Assets/PCG/Planet Procedural Generation/Scripts/NoiseSettings.cs +++ b/Assets/PCG/Planet Procedural Generation/Scripts/NoiseSettings.cs @@ -19,7 +19,7 @@ public class SimpleNoiseSettings { public int numLayers = 1; public float baseRoughness = 1; public float roughness = 2; - public float persistence = .5; // Half the amplitude with each layer + public float persistence = .5f; // Half the amplitude with each layer public Vector3 centre; // Allow us to move the noise around public float minValue; } diff --git a/Assets/PCG/Planet Procedural Generation/Scripts/SimpleNoiseFilter.cs b/Assets/PCG/Planet Procedural Generation/Scripts/SimpleNoiseFilter.cs index a0e081f3a..51b861031 100644 --- a/Assets/PCG/Planet Procedural Generation/Scripts/SimpleNoiseFilter.cs +++ b/Assets/PCG/Planet Procedural Generation/Scripts/SimpleNoiseFilter.cs @@ -6,7 +6,7 @@ public class SimpleNoiseFilter : INoiseFilter { NoiseSettings.SimpleNoiseSettings settings; Noise noise = new Noise(); - public SimpleeNoiseFilter(NoiseSettings.SimpleNoiseSettings settings) { + public SimpleNoiseFilter(NoiseSettings.SimpleNoiseSettings settings) { this.settings = settings; }