mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
fix parsing view angles in exponential form
update RestEase and CodePages dependencies optimized the find by name query add index to name
This commit is contained in:
@ -25,7 +25,7 @@ namespace IW4MAdmin.Plugins.Stats.Helpers
|
||||
|
||||
public static double[] AngleStuff(Vector3 a, Vector3 b)
|
||||
{
|
||||
double deltaX = 180.0 -Math.Abs(Math.Abs(a.X - b.X) - 180.0);
|
||||
double deltaX = 180.0 - Math.Abs(Math.Abs(a.X - b.X) - 180.0);
|
||||
double deltaY = 180.0 - Math.Abs(Math.Abs(a.Y - b.Y) - 180.0);
|
||||
|
||||
return new[] { deltaX, deltaY };
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user