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:
@@ -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).
|
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
|
||||||
```
|
```
|
||||||
|
|
||||||
[](https://www.nuget.org/packages/Raylib-cs/)
|
[](https://www.nuget.org/packages/Raylib-cs/)
|
||||||
|
@@ -7,12 +7,13 @@
|
|||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||||
<NoWarn>$(NoWarn);1591</NoWarn>
|
<NoWarn>$(NoWarn);1591</NoWarn>
|
||||||
|
<LangVersion>10.0</LangVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetRaylibTag>4.0.0</TargetRaylibTag>
|
<TargetRaylibTag>4.0.0</TargetRaylibTag>
|
||||||
<Version>4.0.0-alpha.2</Version>
|
<Version>4.0.0-alpha.3</Version>
|
||||||
<PackageVersion>4.0.0-alpha.2</PackageVersion>
|
<PackageVersion>4.0.0-alpha.3</PackageVersion>
|
||||||
<Authors>Chris Dill, Raysan5</Authors>
|
<Authors>Chris Dill, Raysan5</Authors>
|
||||||
<PackProject>true</PackProject>
|
<PackProject>true</PackProject>
|
||||||
<PackageLicenseExpression>Zlib</PackageLicenseExpression>
|
<PackageLicenseExpression>Zlib</PackageLicenseExpression>
|
||||||
|
@@ -115,13 +115,9 @@ namespace Raylib_cs
|
|||||||
|
|
||||||
readonly int boneCount;
|
readonly int boneCount;
|
||||||
|
|
||||||
public FramePoses this[int index]
|
public FramePoses this[int index] => new(framePoses[index], boneCount);
|
||||||
{
|
|
||||||
get
|
public Transform this[int index1, int index2] => new FramePoses(framePoses[index1], boneCount)[index2];
|
||||||
{
|
|
||||||
return new(framePoses[index], boneCount);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
internal FramePosesCollection(Transform** framePoses, int frameCount, int boneCount)
|
internal FramePosesCollection(Transform** framePoses, int frameCount, int boneCount)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user