Watch
2
0
Fork
You've already forked raylib-cs
0

Updated target to Raylib 6 + synced invoke called with the changes in C. [WARNING: Breaking changes!]

This commit is contained in:
Meatcorps 2026-05-20 21:21:15 +02:00
commit 2a86968da0
11 changed files with 293 additions and 139 deletions

View file

@ -21,6 +21,32 @@ public unsafe struct BoneInfo
public int Parent;
}
/// <summary>
/// Skeleton, animation bones hierarchy
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public unsafe struct ModelSkeleton
{
/// <summary>
/// Number of bones
/// </summary>
public int BoneCount;
/// <summary>
/// Bones information (skeleton)
/// </summary>
public BoneInfo* Bones;
/// <summary>
/// Bones base transformation (Transform[])
/// </summary>
public Transform* ModelAnimPose;
}
// Note:
// Anim pose, an array of Transform[]
// typedef Transform *ModelAnimPose; It's just an pointer array.
/// <summary>
/// Model type
/// </summary>