Review bindings
- All raylib structs are now blittable. - Fixing some incorrect functions(types, naming etc). - Remove netfx.props.
This commit is contained in:
parent
fb37faaeec
commit
e49ca5b92c
6 changed files with 64 additions and 108 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Reference in a new issue