diff --git a/Raylib-cs/types/Rlgl.Utils.cs b/Raylib-cs/types/Rlgl.Utils.cs new file mode 100644 index 0000000..3f50d50 --- /dev/null +++ b/Raylib-cs/types/Rlgl.Utils.cs @@ -0,0 +1,15 @@ +using System.Numerics; + +namespace Raylib_cs; + +public static unsafe partial class Rlgl +{ + /// Set shader value matrices + public static void SetUniformMatrices(int locIndex, Matrix4x4[] mat) + { + fixed (Matrix4x4* p = mat) + { + SetUniformMatrices(locIndex, p, mat.Length); + } + } +}