Skip to content

Commit

Permalink
#3 Bug/typo fixes with NoiseSettings & Filter - all good to go
Browse files Browse the repository at this point in the history
  • Loading branch information
Gizmotronn committed Nov 2, 2021
1 parent 5417ce4 commit 0f31f09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 0f31f09

Please sign in to comment.