Optimizations
This commit is contained in:
parent
c58d7c104b
commit
c79a4d53e4
@ -11,6 +11,6 @@ namespace CubicNoise
|
|||||||
|
|
||||||
public NoiseTypes Type { get; set; } = NoiseTypes.UNKNOWN;
|
public NoiseTypes Type { get; set; } = NoiseTypes.UNKNOWN;
|
||||||
|
|
||||||
public Dictionary<IParameterName, int> IntParameters { get; set; }
|
public IReadOnlyDictionary<IParameterName, int> IntParameters { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,7 @@ namespace CubicNoise
|
|||||||
{
|
{
|
||||||
private readonly INoiseEngine engine;
|
private readonly INoiseEngine engine;
|
||||||
|
|
||||||
private NoiseEngine(NoiseTypes type, int seed, Dictionary<IParameterName, int> intParameters)
|
private NoiseEngine(NoiseTypes type, int seed, IReadOnlyDictionary<IParameterName, int> intParameters)
|
||||||
{
|
{
|
||||||
this.engine = type switch
|
this.engine = type switch
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user