add new fields to Mesh type
This commit is contained in:
parent
d87bf1a0b2
commit
0f083d963f
1 changed files with 11 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
|
using System.Numerics;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace Raylib_cs;
|
namespace Raylib_cs;
|
||||||
|
|
@ -202,6 +203,16 @@ public unsafe partial struct Mesh
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public float* BoneWeights = default;
|
public float* BoneWeights = default;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Bones animated transformation matrices
|
||||||
|
/// </summary>
|
||||||
|
public Matrix4x4* BoneMatrices = default;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Number of bones
|
||||||
|
/// </summary>
|
||||||
|
public int BoneCount;
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region OpenGL identifiers
|
#region OpenGL identifiers
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue