From 0f083d963f13541dcdec76ad9a99db77262e7aaa Mon Sep 17 00:00:00 2001
From: JupiterRider <60042618+JupiterRider@users.noreply.github.com>
Date: Tue, 3 Dec 2024 19:20:09 +0100
Subject: [PATCH] add new fields to Mesh type
---
Raylib-cs/types/Mesh.cs | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/Raylib-cs/types/Mesh.cs b/Raylib-cs/types/Mesh.cs
index e4bb2c4..16733c4 100644
--- a/Raylib-cs/types/Mesh.cs
+++ b/Raylib-cs/types/Mesh.cs
@@ -1,4 +1,5 @@
using System;
+using System.Numerics;
using System.Runtime.InteropServices;
namespace Raylib_cs;
@@ -202,6 +203,16 @@ public unsafe partial struct Mesh
///
public float* BoneWeights = default;
+ ///
+ /// Bones animated transformation matrices
+ ///
+ public Matrix4x4* BoneMatrices = default;
+
+ ///
+ /// Number of bones
+ ///
+ public int BoneCount;
+
#endregion
#region OpenGL identifiers