diff --git a/README.md b/README.md index 3e2245d..41d1127 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Raylib-cs targets net5.0 and net6.0. This is the prefered method to get started - The package is still new so please report any [issues](https://github.com/ChrisDill/Raylib-cs/issues). ``` -dotnet add package Raylib-cs --version 4.0.0-alpha.2 +dotnet add package Raylib-cs --version 4.0.0-alpha.3 ``` [![NuGet](https://img.shields.io/nuget/dt/raylib-cs)](https://www.nuget.org/packages/Raylib-cs/) diff --git a/Raylib-cs/Raylib-cs.csproj b/Raylib-cs/Raylib-cs.csproj index ce99a73..581ae40 100644 --- a/Raylib-cs/Raylib-cs.csproj +++ b/Raylib-cs/Raylib-cs.csproj @@ -7,12 +7,13 @@ true false $(NoWarn);1591 + 10.0 4.0.0 - 4.0.0-alpha.2 - 4.0.0-alpha.2 + 4.0.0-alpha.3 + 4.0.0-alpha.3 Chris Dill, Raysan5 true Zlib diff --git a/Raylib-cs/types/Model.cs b/Raylib-cs/types/Model.cs index 5a96b73..a3dc489 100644 --- a/Raylib-cs/types/Model.cs +++ b/Raylib-cs/types/Model.cs @@ -115,13 +115,9 @@ namespace Raylib_cs readonly int boneCount; - public FramePoses this[int index] - { - get - { - return new(framePoses[index], boneCount); - } - } + public FramePoses this[int index] => new(framePoses[index], boneCount); + + public Transform this[int index1, int index2] => new FramePoses(framePoses[index1], boneCount)[index2]; internal FramePosesCollection(Transform** framePoses, int frameCount, int boneCount) {