forked from MonoGame/MonoGame
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathICurveEvaluator.cs
More file actions
21 lines (19 loc) · 762 Bytes
/
Copy pathICurveEvaluator.cs
File metadata and controls
21 lines (19 loc) · 762 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// MonoGame - Copyright (C) MonoGame Foundation, Inc
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
using System;
namespace Microsoft.Xna.Framework
{
/// <summary>
/// Interface for curve evaluation. Implemented by <see cref="Curve"/>
/// </summary>
public interface ICurveEvaluator<T>
{
/// <summary>
/// Evaluate the value at a position of this <see cref="ICurveEvaluator{T}"/>.
/// </summary>
/// <param name="position">The position on this <see cref="ICurveEvaluator{T}"/>.</param>
/// <returns>Value at the position on this <see cref="ICurveEvaluator{T}"/>.</returns>
T Evaluate(float position);
}
}