using System;
using Cpp2IlInjected;

namespace MTAssets.UltimateLODSystem.MeshSimplifier
{
	// Token: 0x02000606 RID: 1542
	[Token(Token = "0x2000606")]
	public static class MathHelper
	{
		// Token: 0x0600303B RID: 12347 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x600303B")]
		[Address(RVA = "0x401980", Offset = "0x400780", VA = "0x180401980")]
		public static double Min(double val1, double val2, double val3)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x0600303C RID: 12348 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x600303C")]
		[Address(RVA = "0x401960", Offset = "0x400760", VA = "0x180401960")]
		public static double Clamp(double value, double min, double max)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x0600303D RID: 12349 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x600303D")]
		[Address(RVA = "0x4019A0", Offset = "0x4007A0", VA = "0x1804019A0")]
		public static double TriangleArea(ref Vector3d p0, ref Vector3d p1, ref Vector3d p2)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x04003A89 RID: 14985
		[Token(Token = "0x4003A89")]
		public const float PI = 3.1415927f;

		// Token: 0x04003A8A RID: 14986
		[Token(Token = "0x4003A8A")]
		public const double PId = 3.141592653589793;

		// Token: 0x04003A8B RID: 14987
		[Token(Token = "0x4003A8B")]
		public const float Deg2Rad = 0.017453292f;

		// Token: 0x04003A8C RID: 14988
		[Token(Token = "0x4003A8C")]
		public const double Deg2Radd = 0.017453292519943295;

		// Token: 0x04003A8D RID: 14989
		[Token(Token = "0x4003A8D")]
		public const float Rad2Deg = 57.295776f;

		// Token: 0x04003A8E RID: 14990
		[Token(Token = "0x4003A8E")]
		public const double Rad2Degd = 57.29577951308232;
	}
}
