using System.Numerics;
using System.Runtime.InteropServices;
namespace Raylib_cs
{
/// Raycast hit information
[StructLayout(LayoutKind.Sequential)]
public struct RayCollision
{
///
/// Did the ray hit something?
///
public byte hit;
///
/// Distance to nearest hit
///
public float distance;
///
/// Position of nearest hit
///
public Vector3 point;
///
/// Surface normal of hit
///
public Vector3 normal;
}
}