2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-09-09 03:01:41 -04:00

4.0.0-alpha.3

Set lang version to C# 10
This commit is contained in:
2021-12-19 03:02:16 +11:00
parent 5de100bac2
commit 33b743375d
3 changed files with 7 additions and 10 deletions

View File

@@ -7,12 +7,13 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<NoWarn>$(NoWarn);1591</NoWarn>
<LangVersion>10.0</LangVersion>
</PropertyGroup>
<PropertyGroup>
<TargetRaylibTag>4.0.0</TargetRaylibTag>
<Version>4.0.0-alpha.2</Version>
<PackageVersion>4.0.0-alpha.2</PackageVersion>
<Version>4.0.0-alpha.3</Version>
<PackageVersion>4.0.0-alpha.3</PackageVersion>
<Authors>Chris Dill, Raysan5</Authors>
<PackProject>true</PackProject>
<PackageLicenseExpression>Zlib</PackageLicenseExpression>

View File

@@ -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)
{