mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-28 15:17:46 +00:00
fix style
This commit is contained in:
parent
df3ea49f1a
commit
e5f612bc43
2 changed files with 7 additions and 7 deletions
|
@ -319,7 +319,7 @@ unsigned char* TiledNavmeshGenerator::buildTileMesh( const int tx, const int ty,
|
|||
|
||||
m_tileTriCount = 0;
|
||||
|
||||
for (int i = 0; i < ncid; ++i)
|
||||
for( int i = 0; i < ncid; ++i )
|
||||
{
|
||||
const rcChunkyTriMeshNode& node = m_chunkyMesh->nodes[ cid[ i ] ];
|
||||
const int* ctris = &m_chunkyMesh->tris[ node.i * 3 ];
|
||||
|
@ -358,7 +358,7 @@ unsigned char* TiledNavmeshGenerator::buildTileMesh( const int tx, const int ty,
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
rcFreeHeightField(m_solid);
|
||||
rcFreeHeightField( m_solid );
|
||||
m_solid = nullptr;
|
||||
|
||||
// Erode the walkable area by agent radius.
|
||||
|
|
|
@ -95,8 +95,8 @@ private:
|
|||
float m_meshBMin[ 3 ];
|
||||
float m_meshBMax[ 3 ];
|
||||
|
||||
float m_lastBuiltTileBmin[3];
|
||||
float m_lastBuiltTileBmax[3];
|
||||
float m_lastBuiltTileBmin[ 3 ];
|
||||
float m_lastBuiltTileBmax[ 3 ];
|
||||
|
||||
// options
|
||||
float m_tileSize = 160.f;
|
||||
|
@ -108,16 +108,16 @@ private:
|
|||
float m_agentMaxClimb = 0.6f;
|
||||
float m_agentRadius = 0.5f;
|
||||
|
||||
float m_edgeMaxLen = 12.f;
|
||||
float m_edgeMaxError = 1.4f;
|
||||
|
||||
float m_regionMinSize = 8.f;
|
||||
float m_regionMergeSize = 20.f;
|
||||
|
||||
float m_edgeMaxLen = 12.f;
|
||||
float m_edgeMaxError = 1.4f;
|
||||
float m_vertsPerPoly = 6.f;
|
||||
|
||||
float m_detailSampleDist = 6.f;
|
||||
float m_detailSampleMaxError = 1.f;
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue