2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-09-09 03:01:41 -04:00

Fixed RayHitInfo

- Fixed issue with RayHitInfo. bool types different so using byte instead.
This commit is contained in:
2018-10-25 13:07:38 +01:00
parent 398a3fe770
commit 957202efda
4 changed files with 17 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ namespace Raylib
#region Raylib-cs Types
// Vector2 type
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
public struct Vector2
{
public float x;
@@ -161,6 +162,7 @@ namespace Raylib
}
// Vector3 type
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
public struct Vector3
{
public float x;
@@ -283,6 +285,7 @@ namespace Raylib
}
// Vector4 type
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
public struct Vector4
{
public float x;