Remove LerpVector2 from MathUtils, update TODO.

This commit is contained in:
2024-01-21 18:23:55 +01:00
parent 6aa830b53d
commit 44bb90c7ff
2 changed files with 1 additions and 8 deletions

View File

@@ -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);

View File

@@ -36,6 +36,7 @@
- Basic containers - Basic containers
- MarginContainer - MarginContainer
- Text wrapping
- UIElement 2.0 - UIElement 2.0
- Interaction - Interaction
- Callbacks - Callbacks