DetourCrowd/Source/DetourCrowd.cpp
dtCrowdAgent* dtCrowd::getEditableAgent(const int idx)
{
	if (idx < 0 || idx >= m_maxAgents)
		return 0;
	return &m_agents[idx];
}
/// 
/// Agents in the pool may not be in use.  Check #dtCrowdAgent.active before using the returned object.
Agents in the pool may not be in use.  Check #dtCrowdAgent.active before using the returned object.
Agents in the pool may not be in use . Check #dtCrowdAgent . active before using the returned object .
dtCrowdAgent* dtCrowd::getEditableAgent(const int idx)
{
	if (idx < 0 || idx >= m_maxAgents)
		return 0;
	return &m_agents[idx];
}
dtCrowdAgent * dtCrowd :: getEditableAgent ( const int idx ) { if ( idx < 0 || idx >= m_maxAgents ) return 0 ; return & m_agents [ idx ] ; }
Agents in the pool may not be in use.
Agents in the pool may not be in use .