diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-25 20:04:03 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-25 20:04:03 +0400 |
commit | 6ca7d8293228e821695a3149e8fb91b0d305daeb (patch) | |
tree | 05443cd06956fd844d73f333aea5d388f5d22efb /extern/recastnavigation | |
parent | 05725e7b6ef4ee65ff7d9886b32a60c3e620d1c9 (diff) |
code cleanup: white space, spelling & ';;' end of lines.
Diffstat (limited to 'extern/recastnavigation')
-rw-r--r-- | extern/recastnavigation/Recast/Source/RecastMeshDetail.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extern/recastnavigation/Recast/Source/RecastMeshDetail.cpp b/extern/recastnavigation/Recast/Source/RecastMeshDetail.cpp index 126529e9779..3922c864eba 100644 --- a/extern/recastnavigation/Recast/Source/RecastMeshDetail.cpp +++ b/extern/recastnavigation/Recast/Source/RecastMeshDetail.cpp @@ -70,7 +70,7 @@ static bool circumCircle(const float* p1, const float* p2, const float* p3, const float cp = vcross2(p1, p2, p3); if (fabsf(cp) > EPS) - { + { const float p1Sq = vdot2(p1,p1); const float p2Sq = vdot2(p2,p2); const float p3Sq = vdot2(p3,p3); @@ -78,7 +78,7 @@ static bool circumCircle(const float* p1, const float* p2, const float* p3, c[2] = (p1Sq*(p3[0]-p2[0]) + p2Sq*(p1[0]-p3[0]) + p3Sq*(p2[0]-p1[0])) / (2*cp); r = vdist2(c, p1); return true; - } + } c[0] = p1[0]; c[2] = p1[2]; |