Added documentation

This commit is contained in:
Thorsten Sommer committed 2020-01-12 00:32:10 +01:00
1 parent 814d4f6fd0
commit 6bee186952
11 files changed
+287 -6

No files matched your search

+14
View File
@@ -4,10 +4,24 @@ 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);
}
}
+6
View File
@@ -1,5 +1,11 @@
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
{
}