Renamed repo
This commit is contained in:
1 parent
6bee186952
commit
df7c9e1235
16 files changed
+7
-7
No files matched your search
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CubicNoise.Contracts
|
||||
{
|
||||
/// <summary>
|
||||
/// An interface which each noise generator must implement.
|
||||
/// </summary>
|
||||
public interface INoiseEngine
|
||||
{
|
||||
/// <summary>
|
||||
/// Producing a one-dimensional based noise value.
|
||||
/// </summary>
|
||||
/// <param name="x">The x coordinate.</param>
|
||||
/// <returns>The noise value.</returns>
|
||||
float Get(float x);
|
||||
|
||||
/// <summary>
|
||||
/// Produces a two-dimensional based noise value.
|
||||
/// </summary>
|
||||
/// <param name="x">The x coordinate.</param>
|
||||
/// <param name="y">The y coordinate.</param>
|
||||
/// <returns>The noise value.</returns>
|
||||
float Get(float x, float y);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
namespace CubicNoise.Contracts
|
||||
{
|
||||
/// <summary>
|
||||
/// An interface which gets used to provide arbitrary parameter names
|
||||
/// to the general noise engine class. It is a way to abstract the
|
||||
/// concrete (but to the general noise engine class unknown) parameters
|
||||
/// for different noise generators.
|
||||
/// </summary>
|
||||
public interface IParameterName
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user