mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Added explicit conversion from float to Vector
This commit is contained in:
@@ -274,5 +274,8 @@ namespace GlitchyEngine.Math
|
||||
|
||||
[Inline]
|
||||
public static implicit operator Self(in DirectX.Math.Vector4 value) => *(Self*)&value;
|
||||
|
||||
[Inline]
|
||||
public static explicit operator Self(float value) => Self(value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user