forked from bit/DotRecastNetSim
refactor: const float EPSILON
This commit is contained in:
parent
7965af390e
commit
fe305e6fd1
|
@ -253,7 +253,7 @@ namespace DotRecast.Recast.Geom
|
||||||
|
|
||||||
private bool CheckOverlapSegment(float[] p, float[] q, RcVec2f bmin, RcVec2f bmax)
|
private bool CheckOverlapSegment(float[] p, float[] q, RcVec2f bmin, RcVec2f bmax)
|
||||||
{
|
{
|
||||||
float EPSILON = 1e-6f;
|
const float EPSILON = 1e-6f;
|
||||||
|
|
||||||
float tmin = 0;
|
float tmin = 0;
|
||||||
float tmax = 1;
|
float tmax = 1;
|
||||||
|
|
Loading…
Reference in New Issue