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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user