Using the deterministic hash code

This commit is contained in:
Thorsten Sommer 2020-01-11 23:18:34 +01:00
parent af80788a21
commit 1faa4a21c3

View File

@ -15,7 +15,7 @@ namespace CubicNoiseTests
{ {
var engine = NoiseEngine.Create(new EngineParameters var engine = NoiseEngine.Create(new EngineParameters
{ {
Seed = "test seed".GetHashCode(), Seed = "test seed".GetDeterministicHashCode(),
Type = NoiseTypes.CUBIC_NOISE, Type = NoiseTypes.CUBIC_NOISE,
IntParameters = new Dictionary<IParameterName, int> IntParameters = new Dictionary<IParameterName, int>
{ {
@ -76,7 +76,7 @@ namespace CubicNoiseTests
{ {
var engine = NoiseEngine.Create(new EngineParameters var engine = NoiseEngine.Create(new EngineParameters
{ {
Seed = "test seed".GetHashCode(), Seed = "test seed".GetDeterministicHashCode(),
Type = NoiseTypes.CUBIC_NOISE, Type = NoiseTypes.CUBIC_NOISE,
IntParameters = new Dictionary<IParameterName, int> IntParameters = new Dictionary<IParameterName, int>
{ {