Skip to content

Commit d330e76

Browse files
authored
Merge pull request #7 from codingben/v2.4
Merge from main repo
2 parents 2e02e19 + f2c6e3f commit d330e76

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ In v1.0.x:
2525

2626
In v2.4.x:
2727
- Code Optimisation must be enabled for things to work properly, and you **must not** have a debugger attached.
28+
- If you create two Bodies at the same Position, *Bad Things* will happen. It might crash, or it might just poison the DynamicTree. This could be fixed by checking *every* contact to make sure the objects are never in the exact same position, but this should never happen once the simulation is running, so the number of times the check would be useful is statistically insignificant. Just don't put things at the same place as other things. They only need to be different by float.Epsilon in either dimension.
2829

2930
## Source
3031

@@ -87,7 +88,7 @@ Please read and follow the [contributing guidelines](CONTRIBUTING.md).
8788
### System
8889

8990
- Centralized tuning parameters.
90-
- Pure .NET Standard 2.0+ library.
91+
- Pure .NET Standard 2.1+ library.[^1]
9192
- Please [See .NET Implementation Support](https://docs.microsoft.com/en-us/dotnet/standard/net-standard).
9293

9394
## Documentation
@@ -99,3 +100,5 @@ Please read and follow the [contributing guidelines](CONTRIBUTING.md).
99100
## License
100101

101102
Original C++ Box2D is developed by Erin Catto, under the [MIT license](https://en.wikipedia.org/wiki/MIT_License).
103+
104+
[^1] .net standard 2.0 lacks System.MathF which is a dependency. System.Numerics.Vectors is not part of .net standard 2.0, but it is available as a Nuget package. There is a discussion [here](https://github.com/dotnet/runtime/issues/20113) about including System.MathF in System.Runtime.Extensions but it was decided not to do so. We also use stackalloc, Span<T>, System.HashCode, Math.Clamp and range expressions, which are not supported in .net standard 2.0.

0 commit comments

Comments
 (0)