Skip to content

Commit

Permalink
Set the tile size as 256 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
bernatx committed Oct 24, 2023
1 parent a436feb commit e23d919
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions RecastBuilder/Source/Sample_TileMesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Sample_TileMesh::Sample_TileMesh() :
m_drawMode(DRAWMODE_NAVMESH),
m_maxTiles(0),
m_maxPolysPerTile(0),
m_tileSize(64),
m_tileSize(256),
m_tileCol(duRGBA(0,0,0,32)),
m_tileBuildTime(0),
m_tileMemUsage(0),
Expand Down Expand Up @@ -373,9 +373,9 @@ void Sample_TileMesh::buildAllTiles()
++TilesIgnored;
}
}
printf("%d tiles added (total %d /%d max)\n", TilesAddedInRow, TilesAdded, m_maxTiles);
printf("%d tiles added (total %d)\n", TilesAddedInRow, TilesAdded);
}
printf("Total tiles added: (%d / %d)\n", TilesAdded, m_maxTiles);
printf("Total tiles added: (%d / %d max)\n", TilesAdded, m_maxTiles);

// Start the build process.
m_ctx->stopTimer(RC_TIMER_TEMP);
Expand Down

0 comments on commit e23d919

Please sign in to comment.