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
|
|
@ -181,38 +181,23 @@ public unsafe struct Mesh
|
|||
|
||||
#endregion
|
||||
|
||||
#region Animation vertex data
|
||||
#region Skin data for animation
|
||||
|
||||
/// <summary>
|
||||
/// Animated vertex positions (after bones transformations)
|
||||
/// Number of bones (MAX: 256 bones)
|
||||
/// </summary>
|
||||
public float* AnimVertices = default;
|
||||
|
||||
/// <summary>
|
||||
/// Animated normals (after bones transformations)
|
||||
/// </summary>
|
||||
public float* AnimNormals = default;
|
||||
public int BoneCount;
|
||||
|
||||
/// <summary>
|
||||
/// Vertex bone ids, up to 4 bones influence by vertex (skinning)
|
||||
/// </summary>
|
||||
public byte* BoneIds = default;
|
||||
public byte* boneIndices = default;
|
||||
|
||||
/// <summary>
|
||||
/// Vertex bone weight, up to 4 bones influence by vertex (skinning)
|
||||
/// </summary>
|
||||
public float* BoneWeights = default;
|
||||
|
||||
/// <summary>
|
||||
/// Bones animated transformation matrices
|
||||
/// </summary>
|
||||
public Matrix4x4* BoneMatrices = default;
|
||||
|
||||
/// <summary>
|
||||
/// Number of bones
|
||||
/// </summary>
|
||||
public int BoneCount;
|
||||
|
||||
#endregion
|
||||
|
||||
#region OpenGL identifiers
|
||||
|
|
|
|||
Loading…
Reference in a new issue