mirror of
https://github.com/raylib-cs/raylib-cs
synced 2025-09-09 03:01:41 -04:00
Review bindings
- All raylib structs are now blittable. - Fixing some incorrect functions(types, naming etc). - Remove netfx.props.
This commit is contained in:
@@ -5,16 +5,14 @@ using System.Security;
|
||||
namespace Raylib_cs
|
||||
{
|
||||
// NOTE: Helper types to be used instead of array return types for *ToFloat functions
|
||||
public struct float3
|
||||
public unsafe struct float3
|
||||
{
|
||||
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 7)]
|
||||
public float[] v;
|
||||
public fixed float v[3];
|
||||
}
|
||||
|
||||
public struct float16
|
||||
public unsafe struct float16
|
||||
{
|
||||
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 7)]
|
||||
public float[] v;
|
||||
public fixed float v[16];
|
||||
}
|
||||
|
||||
[SuppressUnmanagedCodeSecurity]
|
||||
|
Reference in New Issue
Block a user