Removed warnings when converting Vectors from GlitchyEngine to DirectX

This commit is contained in:
Simon Lübeß
2021-09-18 18:59:01 +02:00
parent a80a63fbc1
commit 0c4fd27226
5 changed files with 4 additions and 25 deletions
@@ -1,9 +1,10 @@
// Disable warning when taking pointer of in-Parameter
#pragma warning disable 4204
using System;
namespace GlitchyEngine.Math
{
/*
extension Vector2
{
[Inline]
@@ -30,5 +31,4 @@ namespace GlitchyEngine.Math
[Inline]
public static implicit operator Self(in DirectX.Math.Vector4 value) => *(Self*)&value;
}
*/
}