roslynator
roslynator copied to clipboard
Refactoring request: Use MathF where possible
trafficstars
If you use any of the Math functions like Math.Min() or Math.Cos() or Math.Abs() etc, and you are using floats for all the parameters, then you should probably be using MathF for better performance.
Especially if you are casting to float immediately afterwards.
Note: This is only available if using .NET 6 or later