21 lines
597 B
C#
21 lines
597 B
C#
using System;
|
|
|
|
namespace Geometry
|
|
{
|
|
public class SPUtility
|
|
{
|
|
public const float EPSYLON = 5E-7f;
|
|
public const float TWO_EPSYLON = 1E-6f;
|
|
public const float SQUARE_EPSYLON = 2.5E-13f;
|
|
|
|
public const float EPSYLON_EFFECTIVENESS_LIMIT = 1.0f;
|
|
|
|
public const float ONE_THIRD = 0.333333333f;
|
|
public const float ONE_SIXTH = 0.166666667f;
|
|
public const float ONE_NINETH = 0.111111111f;
|
|
|
|
public const float GOLDEN_RATIO_HIGH = 1.618034f;
|
|
public const float GOLDEN_RATIO_LOW = 0.618034f;
|
|
}
|
|
}
|
|
|