Переименование проектов и оптимизация вычислений / Renaming of projects and optimization of computations
This commit is contained in:
parent
37d86bc4c1
commit
75e5c02609
36 changed files with 177 additions and 379 deletions
21
BasicGeometry/FP32Utility.cs
Normal file
21
BasicGeometry/FP32Utility.cs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
using System;
|
||||
|
||||
namespace BasicGeometry
|
||||
{
|
||||
public class FP32Utility
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue