Remove LerpVector2 from MathUtils, update TODO.
This commit is contained in:
@@ -16,14 +16,6 @@ namespace DaggerFramework
|
|||||||
return new Color(r, g, b, a);
|
return new Color(r, g, b, a);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Vector2 LerpVector2(Vector2 v1, Vector2 v2, double t)
|
|
||||||
{
|
|
||||||
var x = Lerp(v1.X, v2.X, t);
|
|
||||||
var y = Lerp(v1.Y, v2.Y, t);
|
|
||||||
|
|
||||||
return new Vector2(x, y);
|
|
||||||
}
|
|
||||||
|
|
||||||
public static Vector2 RandomVector2(Vector2 min, Vector2 max)
|
public static Vector2 RandomVector2(Vector2 min, Vector2 max)
|
||||||
{
|
{
|
||||||
var x = _random.NextDouble(min.X, max.X);
|
var x = _random.NextDouble(min.X, max.X);
|
||||||
|
|||||||
@@ -36,6 +36,7 @@
|
|||||||
|
|
||||||
- Basic containers
|
- Basic containers
|
||||||
- MarginContainer
|
- MarginContainer
|
||||||
|
- Text wrapping
|
||||||
- UIElement 2.0
|
- UIElement 2.0
|
||||||
- Interaction
|
- Interaction
|
||||||
- Callbacks
|
- Callbacks
|
||||||
|
|||||||
Reference in New Issue
Block a user