mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
25 lines
349 B
Beef
25 lines
349 B
Beef
using GlitchyEngine.Math;
|
|
|
|
namespace System
|
|
{
|
|
extension Float
|
|
{
|
|
public float X
|
|
{
|
|
[Inline]
|
|
get => (float)this;
|
|
[Inline]
|
|
set mut => this = value;
|
|
}
|
|
|
|
[Inline]
|
|
public Vector2 XX => Vector2((float)this);
|
|
|
|
[Inline]
|
|
public Vector3 XXX => Vector3((float)this);
|
|
|
|
[Inline]
|
|
public Vector4 XXXX => Vector4((float)this);
|
|
}
|
|
}
|