mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Fixed editorcamera stuttering, Added editor icons
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user