2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-07-02 19:13:43 -04:00

Port to Raylib-5.0.0 (#210)

Co-authored-by: ChrisDill <chris.rj.dill@gmail.com>
This commit is contained in:
MrScautHD
2023-12-27 13:17:57 +01:00
committed by GitHub
parent ff85d9ae83
commit 43f1924faa
13 changed files with 237 additions and 26 deletions

View File

@ -79,7 +79,7 @@ public unsafe partial struct Model
/// Model animation
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public readonly unsafe partial struct ModelAnimation
public unsafe partial struct ModelAnimation
{
/// <summary>
/// Number of bones
@ -104,6 +104,11 @@ public readonly unsafe partial struct ModelAnimation
/// </summary>
public readonly Transform** FramePoses;
/// <summary>
/// Animation name (char[32])
/// </summary>
public fixed sbyte Name[32];
/// <inheritdoc cref="FramePoses"/>
public FramePosesCollection FramePosesColl => new(FramePoses, FrameCount, BoneCount);