mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-08-15 07:39:59 +00:00
Moved common functions behind name decoration.
This commit is contained in:
@@ -370,8 +370,8 @@ bool Sample_SoloMeshSimple::handleBuild()
|
||||
// Set the area where the navigation will be build.
|
||||
// Here the bounds of the input mesh are used, but the
|
||||
// area could be specified by an user defined box, etc.
|
||||
vcopy(m_cfg.bmin, bmin);
|
||||
vcopy(m_cfg.bmax, bmax);
|
||||
rcVcopy(m_cfg.bmin, bmin);
|
||||
rcVcopy(m_cfg.bmax, bmax);
|
||||
rcCalcGridSize(m_cfg.bmin, m_cfg.bmax, m_cfg.cs, &m_cfg.width, &m_cfg.height);
|
||||
|
||||
// Reset build times gathering.
|
||||
@@ -622,8 +622,8 @@ bool Sample_SoloMeshSimple::handleBuild()
|
||||
params.walkableHeight = m_agentHeight;
|
||||
params.walkableRadius = m_agentRadius;
|
||||
params.walkableClimb = m_agentMaxClimb;
|
||||
vcopy(params.bmin, m_pmesh->bmin);
|
||||
vcopy(params.bmax, m_pmesh->bmax);
|
||||
rcVcopy(params.bmin, m_pmesh->bmin);
|
||||
rcVcopy(params.bmax, m_pmesh->bmax);
|
||||
params.cs = m_cfg.cs;
|
||||
params.ch = m_cfg.ch;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user