Fixed editorcamera stuttering, Added editor icons

This commit is contained in:
Simon Lübeß
2022-05-18 14:12:26 +02:00
parent 5d8a4ad3a7
commit 4cd0bff91d
10 changed files with 273 additions and 51 deletions
+6
View File
@@ -77,5 +77,11 @@ namespace GlitchyEngine.Math
{
return Math.Abs(value) < epsilon;
}
/// Returns the point that lies on the unit circle at the specified angle.
public static Vector2 CirclePoint(float angle, float radius = 1.0f)
{
return .(Math.Cos(angle), Math.Sin(angle)) * radius;
}
}
}