Skip to content

Commit 5837609

Browse files
committed
Updated demos to net5.0 and updated readme/build to match (plus mentioned the move from phpbb to github for discussions).
1 parent d43c514 commit 5837609

File tree

8 files changed

+13
-11
lines changed

8 files changed

+13
-11
lines changed

DemoRenderer.GL/DemoRenderer.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>netcoreapp3.1</TargetFramework>
3+
<TargetFramework>net5.0</TargetFramework>
44
<LangVersion>latest</LangVersion>
55
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
66
</PropertyGroup>

DemoRenderer/DemoRenderer.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>netcoreapp3.1</TargetFramework>
3+
<TargetFramework>net5.0</TargetFramework>
44
<LangVersion>latest</LangVersion>
55
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
66
</PropertyGroup>

DemoTests/DemoTests.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net5.0</TargetFramework>
55
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
66
<IsPackable>false</IsPackable>
77
<LangVersion>latest</LangVersion>

DemoUtilities/DemoUtilities.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net5.0</TargetFramework>
55
<LangVersion>latest</LangVersion>
66
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
77
</PropertyGroup>

Demos.GL/Demos.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net5.0</TargetFramework>
55
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
66
<Configurations>Debug;Release;ReleaseStrip</Configurations>
77
<LangVersion>latest</LangVersion>

Demos/Demos.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net5.0</TargetFramework>
55
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
66
<Configurations>Debug;Release;ReleaseStrip</Configurations>
77
<LangVersion>latest</LangVersion>

Documentation/Building.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ The libraries target .NET Standard 2.0. They currently do some [unusual/question
1212

1313
## Demos
1414

15-
`Demos.sln` contains all the projects necessary to build and run the demos application. The demo renderer uses DX11, and the content pipeline's shader compiler requires the Windows SDK. The demos application targets .NET Core 2.1.
15+
`Demos.sln` contains all the projects necessary to build and run the demos application. The default demo renderer uses DX11, and the content pipeline's shader compiler requires the Windows SDK. The demos application targets .NET Core 5.0.
16+
17+
There's also an [OpenGL version of the demos](https://github.com/bepu/bepuphysics2/tree/master/Demos.GL). You can run it from the command line in the repository root using `dotnet run --project Demos.GL/Demos.csproj -c ReleaseStrip`.
1618

1719
## Build Configurations
1820

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
This is the repo for the bepuphysics v2 library, a complete rewrite of the C# 3d rigid body physics engine [BEPUphysics v1](https://github.com/bepu/bepuphysics1).
55

6-
The BepuPhysics and BepuUtilities libraries target .NET Standard 2.0 and should work on any supported platform. The demos are built on .NET Core 3.1 and require DX11.
6+
The BepuPhysics and BepuUtilities libraries target .NET Standard 2.0 and should work on any supported platform. The demos target .NET Core 5.0 and use DX11 by default. There is also an [OpenGL version of the demos](https://github.com/bepu/bepuphysics2/tree/master/Demos.GL) for other platforms that you can run from the command line in the repository root using `dotnet run --project Demos.GL/Demos.csproj -c ReleaseStrip`.
77

88
The physics engine heavily uses System.Numerics.Vectors types, so to get good performance, you'll need a compiler which can consume those types (like RyuJIT).
99

@@ -27,11 +27,11 @@ To build the source, you'll need a recent version of Visual Studio with the .NET
2727

2828
## Links
2929

30-
Report bugs [here on github](../../issues).
30+
Report bugs [on the issues tab](../../issues).
3131

32-
Visit the [forums](https://forum.bepuentertainment.com) for discussion and questions.
32+
Use the [discussions tab](../../discussions) for... discussions. And questions.
3333

34-
By user request, there's an [experimental discord server](https://discord.gg/ssa2XpY). I'll be focusing on the forum/github for long-form content, but if you like discord, now you can discord.
34+
By user request, there's a [discord server](https://discord.gg/ssa2XpY). I'll be focusing on github for long-form content, but if you like discord, now you can discord.
3535

3636
[Getting Started](Documentation/GettingStarted.md)
3737

0 commit comments

Comments
 (0)