Ejemplo n.º 1
0
//------------------------------- GetBestSupportingSpot -----------------------
//-----------------------------------------------------------------------------
Vector2D Prior__SupportSpotCalculator::GetBestSupportingSpot()
{
   if (m_pBestSupportingSpot)
     return m_pBestSupportingSpot->m_vPos;
   else
     return DetermineBestSupportingPosition();
}
//------------------------------- GetBestSupportingSpot -----------------------
//-----------------------------------------------------------------------------
b2Vec2 SupportSpotCalculator::GetBestSupportingSpot()
{
	if (bestSupportSpot)
	{
		return bestSupportSpot->position;
	}

	else
	{ 
		return DetermineBestSupportingPosition();
	}
}
Ejemplo n.º 3
0
//------------------------------- GetBestSupportingSpot -----------------------
//-----------------------------------------------------------------------------
Vector2D SSC2::GetBestSupportingSpot()
{
    if (m_pBestSupportingSpot)
    {
        return m_pBestSupportingSpot->m_vPos;
    }

    else
    {
        return DetermineBestSupportingPosition();
    }
}