Updated target to Raylib 6 + synced invoke called with the changes in C. [WARNING: Breaking changes!]
This commit is contained in:
parent
1b890169c5
commit
2a86968da0
11 changed files with 293 additions and 139 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue