Update structure types to record structs (#326)
This commit is contained in:
parent
7db9848fb2
commit
a31a4eb3ca
7 changed files with 8 additions and 18 deletions
|
|
@ -7,7 +7,7 @@ namespace Raylib_cs;
|
|||
/// Ray, ray for raycasting
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct Ray
|
||||
public record struct Ray
|
||||
{
|
||||
/// <summary>
|
||||
/// Ray position (origin)
|
||||
|
|
@ -30,7 +30,7 @@ public struct Ray
|
|||
/// Raycast hit information
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct RayCollision
|
||||
public record struct RayCollision
|
||||
{
|
||||
/// <summary>
|
||||
/// Did the ray hit something?
|
||||
|
|
|
|||
Loading…
Reference in a new issue