-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Numerics type mappings * cruft * register xaml type mappings
- Loading branch information
Showing
9 changed files
with
302 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Runtime.InteropServices; | ||
using System.Text; | ||
|
||
namespace ABI.System.Numerics | ||
{ | ||
[StructLayout(LayoutKind.Sequential)] | ||
public struct Matrix3x2 | ||
{ | ||
public static string GetGuidSignature() => | ||
"struct(Windows.Foundation.Numerics.Matrix3x2;f4;f4;f4;f4;f4;f4)"; | ||
} | ||
|
||
[StructLayout(LayoutKind.Sequential)] | ||
public struct Matrix4x4 | ||
{ | ||
public static string GetGuidSignature() => | ||
"struct(Windows.Foundation.Numerics.Matrix4x4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4)"; | ||
} | ||
|
||
[StructLayout(LayoutKind.Sequential)] | ||
public struct Plane | ||
{ | ||
public static string GetGuidSignature() => | ||
"struct(Windows.Foundation.Numerics.Plane;struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);f4)"; | ||
} | ||
|
||
[StructLayout(LayoutKind.Sequential)] | ||
public struct Quaternion | ||
{ | ||
public static string GetGuidSignature() => | ||
"struct(Windows.Foundation.Numerics.Quaternion;f4;f4;f4;f4)"; | ||
} | ||
|
||
[StructLayout(LayoutKind.Sequential)] | ||
public struct Vector2 | ||
{ | ||
public static string GetGuidSignature() => | ||
"struct(Windows.Foundation.Numerics.Vector2;f4;f4)"; | ||
} | ||
|
||
[StructLayout(LayoutKind.Sequential)] | ||
public struct Vector3 | ||
{ | ||
public static string GetGuidSignature() => | ||
"struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4)"; | ||
} | ||
|
||
[StructLayout(LayoutKind.Sequential)] | ||
public struct Vector4 | ||
{ | ||
public static string GetGuidSignature() => | ||
"struct(Windows.Foundation.Numerics.Vector4;f4;f4;f4;f4)"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.