mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
35 lines
813 B
Beef
35 lines
813 B
Beef
#pragma warning disable 4204
|
|
using System;
|
|
|
|
namespace GlitchyEngine.Math
|
|
{
|
|
/*
|
|
extension Vector2
|
|
{
|
|
[Inline]
|
|
public static implicit operator DirectX.Math.Vector2(in Self value) => *(DirectX.Math.Vector2*)&value;
|
|
|
|
[Inline]
|
|
public static implicit operator Self(in DirectX.Math.Vector2 value) => *(Self*)&value;
|
|
}
|
|
|
|
extension Vector3
|
|
{
|
|
[Inline]
|
|
public static implicit operator DirectX.Math.Vector3(in Self value) => *(DirectX.Math.Vector3*)&value;
|
|
|
|
[Inline]
|
|
public static implicit operator Self(in DirectX.Math.Vector3 value) => *(Self*)&value;
|
|
}
|
|
|
|
extension Vector4
|
|
{
|
|
[Inline]
|
|
public static implicit operator DirectX.Math.Vector4(in Self value) => *(DirectX.Math.Vector4*)&value;
|
|
|
|
[Inline]
|
|
public static implicit operator Self(in DirectX.Math.Vector4 value) => *(Self*)&value;
|
|
}
|
|
*/
|
|
}
|